tag:blogger.com,1999:blog-89356433261048041672024-02-02T06:36:19.981-08:00Ninja Developervikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.comBlogger57125tag:blogger.com,1999:blog-8935643326104804167.post-44167087449565892032017-01-13T04:22:00.000-08:002017-01-13T04:24:00.094-08:00How to protect your site from hackers <div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-IN</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
Is your website need security<span style="mso-spacerun: yes;"> </span>many of web owner not take it seriously that
they need website protection. Why anyone want to hack your website and how you can
protect that from hacking.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Website password </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
You website need to have strong password so hacker have not
easy to crack it . Only set strong password one time<span style="mso-spacerun: yes;"> </span>and not change it regularly is not enough
you need to change you web password in time interval to reduce the chances of
password hack. Use<span style="mso-spacerun: yes;"> </span>alpha numeric
password<span style="mso-spacerun: yes;"> </span>with special character<span style="mso-spacerun: yes;"> </span>which is not<span style="mso-spacerun: yes;">
</span>easy to guess and crack<span style="mso-spacerun: yes;"> </span>your
password strength should<span style="mso-spacerun: yes;"> </span>be<span style="mso-spacerun: yes;"> </span>8 character or more<span style="mso-spacerun: yes;"> </span>for strong password .Use upper and lower case
combination with all these .</div>
<div class="MsoNormal">
In advance if you are using any CMS for you website they
provide good password check and auto generate<span style="mso-spacerun: yes;">
</span>random password combination for security reason you can use them easily.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">File Uploads </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
If you are providing file upload facilities for visitor or
logged in users you need to take care. Add the<span style="mso-spacerun: yes;">
</span>file type <span style="mso-spacerun: yes;"> </span>of file you want <span style="mso-spacerun: yes;"> </span>to allow user upload <span style="mso-spacerun: yes;"> </span>on site<span style="mso-spacerun: yes;">
</span>like<span style="mso-spacerun: yes;"> </span>image file , word doc file
or<span style="mso-spacerun: yes;"> </span>any other<span style="mso-spacerun: yes;"> </span>type<span style="mso-spacerun: yes;">
</span>to restrict all other file type<span style="mso-spacerun: yes;">
</span>so user unable to upload that<span style="mso-spacerun: yes;"> </span>on
server .Add<span style="mso-spacerun: yes;"> </span>size limit<span style="mso-spacerun: yes;"> </span>because<span style="mso-spacerun: yes;">
</span>very large file may create issue in site<span style="mso-spacerun: yes;">
</span>process and<span style="mso-spacerun: yes;"> </span>take time to scan
process if you are using antivirus to scan files . Try to save files outside
the root directory if possible .Change the<span style="mso-spacerun: yes;">
</span>Permission of uploaded files folder to chmod 0666 so<span style="mso-spacerun: yes;"> </span>it can’t be executed. You can also give
permission by .htaccess<span style="mso-spacerun: yes;"> </span>for that<span style="mso-spacerun: yes;"> </span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><span style="mso-spacerun: yes;"> </span></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><span style="mso-spacerun: yes;"> </span><Files ~
"^\w+\.(gif|jpe?g|png)$"></span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><span style="mso-spacerun: yes;"> </span>order deny,allow</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><span style="mso-spacerun: yes;"> </span>allow from all</span></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"><span style="mso-spacerun: yes;"> </span></Files></span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman"; mso-fareast-language: EN-IN;"></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="mso-spacerun: yes;"> </span>You can add any file
type here and add the code in .htaccess file on root to apply condition.</div>
<div class="MsoNormal">
Other solution i have<span style="mso-spacerun: yes;">
</span>mentioned that<span style="mso-spacerun: yes;"> </span>to save files in
private folder outside the<span style="mso-spacerun: yes;"> </span>root<span style="mso-spacerun: yes;"> </span>in that<span style="mso-spacerun: yes;">
</span>way you need script to access files from that<span style="mso-spacerun: yes;"> </span>private folder .</div>
<div class="MsoNormal">
Most hosting provide provide facility for this<span style="mso-spacerun: yes;"> </span>you can also set it<span style="mso-spacerun: yes;"> </span>by setting<span style="mso-spacerun: yes;">
</span>firewall setting<span style="mso-spacerun: yes;"> </span>and block all
non essential ports<span style="mso-spacerun: yes;"> </span>only allow 80 and
443 for<span style="mso-spacerun: yes;"> </span>outside<span style="mso-spacerun: yes;"> </span>all.</div>
<div class="MsoNormal">
If you are trying to upload files<span style="mso-spacerun: yes;"> </span>try to upload if from secure<span style="mso-spacerun: yes;"> </span>method like SFTP.On other way<span style="mso-spacerun: yes;"> </span>add data base on other server<span style="mso-spacerun: yes;"> </span>and<span style="mso-spacerun: yes;">
</span>connect if on your server<span style="mso-spacerun: yes;"> </span>by this
way <span style="mso-spacerun: yes;"> </span>database<span style="mso-spacerun: yes;"> </span>server cannot be accessed directly<span style="mso-spacerun: yes;"> </span>and you database is safe<span style="mso-spacerun: yes;"> </span>in this way .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Use Website Security
Tool </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
If you want to<span style="mso-spacerun: yes;">
</span>check<span style="mso-spacerun: yes;"> </span>website security<span style="mso-spacerun: yes;"> </span>you can use any third party tool to check all
website<span style="mso-spacerun: yes;"> </span>security and<span style="mso-spacerun: yes;"> </span>they also provide you hint<span style="mso-spacerun: yes;"> </span>how you can fix<span style="mso-spacerun: yes;"> </span>security issues<span style="mso-spacerun: yes;"> </span>which arises in software audit .</div>
<div class="MsoNormal">
If<span style="mso-spacerun: yes;"> </span>you are using<span style="mso-spacerun: yes;"> </span>CMS like word press you can use security<span style="mso-spacerun: yes;"> </span>plug-in like<span style="mso-spacerun: yes;">
</span><span style="color: black; mso-themecolor: text1;"><a href="https://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwjQl_Ctv77RAhUFOo8KHbFPD80QFggZMAA&url=https%3A%2F%2Fwordpress.org%2Fplugins%2Fwordfence%2F&usg=https://wordpress.org/plugins/wordfence/"><span style="color: black; mso-themecolor: text1;">wordfence security </span></a></span></div>
<h2>
<span style="color: black; font-size: 11.0pt; font-weight: normal; mso-bidi-font-weight: bold; mso-themecolor: text1;"><a href="https://wordpress.org/plugins/all-in-one-wp-security-and-firewall/"><span style="color: black; mso-themecolor: text1;">All In One WP Security & Firewall</span></a>
<span style="mso-spacerun: yes;"> </span></span><span style="color: black; font-size: 11.0pt; mso-themecolor: text1;"><a href="https://wordpress.org/plugins/better-wp-security/"><span style="color: black; mso-themecolor: text1;">Itheme Security</span></a><span style="mso-spacerun: yes;"> </span></span><span style="font-size: 11.0pt;"><span style="mso-spacerun: yes;"> </span></span><span style="font-size: 11.0pt; font-weight: normal; mso-bidi-font-weight: bold;">there is many more option available
which you can use in CMS word press for security and scanning </span></h2>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">You can use<span style="mso-spacerun: yes;"> </span>other<span style="mso-spacerun: yes;"> </span></b><span style="mso-spacerun: yes;"> </span><span style="mso-hansi-font-family: Symbol;"><span style="mso-spacerun: yes;"> </span>scan my server , sucuri ,Site Guarding<span style="mso-spacerun: yes;"> </span>etc many<span style="mso-spacerun: yes;">
</span>more<span style="mso-spacerun: yes;"> </span>by which<span style="mso-spacerun: yes;"> </span>you can check<span style="mso-spacerun: yes;">
</span>you site<span style="mso-spacerun: yes;"> </span>security<span style="mso-spacerun: yes;"> </span>issues .</span></div>
<div class="MsoNormal">
<span style="mso-hansi-font-family: Symbol;"><span style="mso-spacerun: yes;"> </span>After checking all<span style="mso-spacerun: yes;"> </span>list you can start working on issue<span style="mso-spacerun: yes;"> </span>which they<span style="mso-spacerun: yes;">
</span>list to make site more<span style="mso-spacerun: yes;"> </span>secure .</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Guarding Include
Files</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
In php we many time<span style="mso-spacerun: yes;">
</span>include files on page<span style="mso-spacerun: yes;"> </span>as per requirement
<span style="mso-spacerun: yes;"> </span>for our ease which contact<span style="mso-spacerun: yes;"> </span>code<span style="mso-spacerun: yes;">
</span>database<span style="mso-spacerun: yes;"> </span>credential and<span style="mso-spacerun: yes;"> </span>any other sensitive information . many
developer<span style="mso-spacerun: yes;"> </span>just include the file
with<span style="mso-spacerun: yes;"> </span>extension .inc<span style="mso-spacerun: yes;"> </span>in that<span style="mso-spacerun: yes;">
</span>way file<span style="mso-spacerun: yes;"> </span>can directly accessible
as text file only not php because php not parsed it directly . </div>
<div class="MsoNormal">
If any attacker directly accesses this file then he can
easily get all the database credential detail and any other sensitive
information which is in that file and can attack on related database and other file
easily. So always<span style="mso-spacerun: yes;"> </span>include<span style="mso-spacerun: yes;"> </span>your files<span style="mso-spacerun: yes;">
</span>with the extension <span style="mso-spacerun: yes;"> </span>.php<span style="mso-spacerun: yes;"> </span>and keep these type of file which have<span style="mso-spacerun: yes;"> </span>sensitive information<span style="mso-spacerun: yes;"> </span>out site<span style="mso-spacerun: yes;">
</span>in<span style="mso-spacerun: yes;"> </span>a folder which is not
directly<span style="mso-spacerun: yes;"> </span>accessible<span style="mso-spacerun: yes;"> </span>by any one .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Error handling </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
It’s<span style="mso-spacerun: yes;"> </span>good to check
all the<span style="mso-spacerun: yes;"> </span>related<span style="mso-spacerun: yes;"> </span>errors and warning<span style="mso-spacerun: yes;"> </span>if we are developing and application<span style="mso-spacerun: yes;"> </span>for its security<span style="mso-spacerun: yes;"> </span>because<span style="mso-spacerun: yes;">
</span>fixing error and warning<span style="mso-spacerun: yes;"> </span>will
secure our application lack hole .After completing<span style="mso-spacerun: yes;"> </span>application hide all errors and warning<span style="mso-spacerun: yes;"> </span>because live<span style="mso-spacerun: yes;">
</span>hacker can easily<span style="mso-spacerun: yes;"> </span>trace the vulnerable.</div>
<div class="MsoNormal">
When <span style="mso-spacerun: yes;"> </span>you are
developing any application <span style="mso-spacerun: yes;"> </span>configure you
server as like for development and production server<span style="mso-spacerun: yes;"> </span>in development<span style="mso-spacerun: yes;"> </span>server<span style="mso-spacerun: yes;">
</span>you<span style="mso-spacerun: yes;"> </span>need to<span style="mso-spacerun: yes;"> </span>show all the error and warning<span style="mso-spacerun: yes;"> </span>so that<span style="mso-spacerun: yes;">
</span>you able to fix all the issue and lack of security easily<span style="mso-spacerun: yes;"> </span>on development server<span style="mso-spacerun: yes;"> </span>and<span style="mso-spacerun: yes;">
</span>when go on live server<span style="mso-spacerun: yes;"> </span>hide all
the<span style="mso-spacerun: yes;"> </span>errors and warning<span style="mso-spacerun: yes;"> </span>from you application so<span style="mso-spacerun: yes;"> </span>hacker not able to see<span style="mso-spacerun: yes;"> </span>loop hole in site if any .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Protect Session Data</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
You session data default save in<span style="mso-spacerun: yes;"> </span>temp file and<span style="mso-spacerun: yes;"> </span>on shared<span style="mso-spacerun: yes;">
</span>hosting<span style="mso-spacerun: yes;"> </span>it can easily<span style="mso-spacerun: yes;"> </span>accessible by writing<span style="mso-spacerun: yes;"> </span>script<span style="mso-spacerun: yes;">
</span>easily .So we need to protect our sensitive information<span style="mso-spacerun: yes;"> </span>like<span style="mso-spacerun: yes;">
</span>credit card info password<span style="mso-spacerun: yes;">
</span>etc<span style="mso-spacerun: yes;"> </span>from hacker to access
that<span style="mso-spacerun: yes;"> </span>by session data .</div>
<div class="MsoNormal">
You can protect<span style="mso-spacerun: yes;"> </span>that
by<span style="mso-spacerun: yes;"> </span>sending<span style="mso-spacerun: yes;"> </span>data in encrypted for<span style="mso-spacerun: yes;"> </span>so that<span style="mso-spacerun: yes;">
</span>its not<span style="mso-spacerun: yes;"> </span>normal readable<span style="mso-spacerun: yes;"> </span>for any one .You can change the<span style="mso-spacerun: yes;"> </span>session data store location so that<span style="mso-spacerun: yes;"> </span>hacker unable <span style="mso-spacerun: yes;"> </span>to access that easily<span style="mso-spacerun: yes;"> </span>from default location<span style="mso-spacerun: yes;"> </span>you can use<span style="mso-spacerun: yes;">
</span><code><span style="font-family: "Calibri","sans-serif"; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">session_set_save_handler()<span style="mso-spacerun: yes;"> </span>for that<span style="mso-spacerun: yes;">
</span>purpose by your<span style="mso-spacerun: yes;"> </span>own way .</span></code></div>
<div class="MsoNormal">
<br /></div>
<h3 class="MsoNormal" style="text-align: left;">
<b><code><span style="mso-bidi-font-weight: normal;"><span style="font-family: "Calibri","sans-serif"; line-height: 115%; mso-ansi-font-size: 11.0pt; mso-ascii-theme-font: minor-latin; mso-bidi-font-size: 11.0pt; mso-bidi-theme-font: minor-latin; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin; mso-hansi-theme-font: minor-latin;">SQL Injection Attack </span></span></code></b></h3>
<div class="MsoNormal">
Sql injection is the process of accessing data from form
input field submission and also from url<span style="mso-spacerun: yes;">
</span></div>
<div class="MsoNormal">
And adding that in database and making changes based on data
captured and delete table data and many other activity can b done by that way.<span style="mso-spacerun: yes;"> </span>To fix this you need to use parameteralised query
in which pass the parameter in query to access data.</div>
<pre>Like<span style="mso-spacerun: yes;"> </span><code>"SELECT * FROM table WHERE column = '" + parameter + "';"</code></pre>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Keep Up to date</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Keep you software program up to date with the new latest versions
so any issue in previous version will directly fix your site issue. If you are using
any cms or software in your site<span style="mso-spacerun: yes;"> </span>update
that time to time according to latest versions.</div>
<div class="MsoNormal">
In Hosting<span style="mso-spacerun: yes;">
</span>company<span style="mso-spacerun: yes;"> </span>taken care of his software’s<span style="mso-spacerun: yes;"> </span>updates and<span style="mso-spacerun: yes;">
</span>update theme<span style="mso-spacerun: yes;"> </span>accordingly<span style="mso-spacerun: yes;"> </span>security<span style="mso-spacerun: yes;">
</span>time to time<span style="mso-spacerun: yes;"> </span>you also need to
check regularly<span style="mso-spacerun: yes;"> </span>many<span style="mso-spacerun: yes;"> </span>time they<span style="mso-spacerun: yes;">
</span>provide<span style="mso-spacerun: yes;"> </span>manually option for<span style="mso-spacerun: yes;"> </span>updates so you need to follow their
instruction and<span style="mso-spacerun: yes;"> </span>work on that to fix any
possible security<span style="mso-spacerun: yes;"> </span>hole<span style="mso-spacerun: yes;"> </span>if have .</div>
<div class="MsoNormal">
<br /></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com2tag:blogger.com,1999:blog-8935643326104804167.post-82516614216664041092017-01-10T22:15:00.002-08:002017-01-10T22:15:47.462-08:00Website Speed Optimization<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-IN</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
Website speed is that<span style="mso-spacerun: yes;">
</span>how fast the content load from server to your local machine to display
in web browser. Page load time is the time between the clicking and loading the
web page content requested browser.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">There are some aspects
to understand <span style="mso-spacerun: yes;"> </span>web page speed.</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
To view the time taken by web server delivering HTML content
to web browser.</div>
<div class="MsoNormal">
How browser respond to page request.</div>
<div class="MsoNormal">
End User as requested web page renders in browser this is
best way to measure page speed.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="mso-spacerun: yes;"> </span>If your website speed
low it impact on the<span style="mso-spacerun: yes;"> </span>website
performance<span style="mso-spacerun: yes;"> </span>user experience <span style="mso-spacerun: yes;"> </span>search results<span style="mso-spacerun: yes;"> </span>web site<span style="mso-spacerun: yes;">
</span>responsiveness and<span style="mso-spacerun: yes;"> </span>load time<span style="mso-spacerun: yes;"> </span>bad use<span style="mso-spacerun: yes;">
</span>experience and<span style="mso-spacerun: yes;"> </span>many other .So
it<span style="mso-spacerun: yes;"> </span>need that<span style="mso-spacerun: yes;"> </span>your<span style="mso-spacerun: yes;">
</span>page<span style="mso-spacerun: yes;"> </span>load fast for better
performance.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">How To Optimize
Website to Increase page Speed if its<span style="mso-spacerun: yes;">
</span>taking long time to load </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
You can check you<span style="mso-spacerun: yes;">
</span>site speed on<span style="mso-spacerun: yes;"> </span>Google speed
test<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span><a href="https://developers.google.com/speed/pagespeed/insights/">PageSpeed
Insights</a></div>
<div class="MsoNormal">
Or in <a href="https://tools.pingdom.com/">Pingdom</a>
Tool<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>there
are many other available but most used these tools.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">There are different
Steps to Increase page load.</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Image optimisation to
increase site Speed </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Image<span style="mso-spacerun: yes;"> </span>are the main
key for website because all the impression by images<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>like “Like
a picture is worth rather than one thousand words” . But if you image are
bigger in size and<span style="mso-spacerun: yes;"> </span>take<span style="mso-spacerun: yes;"> </span>time to load<span style="mso-spacerun: yes;">
</span>that<span style="mso-spacerun: yes;"> </span>will give<span style="mso-spacerun: yes;"> </span>you low page loading and site take long
time<span style="mso-spacerun: yes;"> </span>to load as soon as image load . For
this you need to optimise you images according to need and quality. Images<span style="mso-spacerun: yes;"> </span>should be in lesser<span style="mso-spacerun: yes;"> </span>size so they<span style="mso-spacerun: yes;">
</span>load easily<span style="mso-spacerun: yes;"> </span>when<span style="mso-spacerun: yes;"> </span>web browser<span style="mso-spacerun: yes;">
</span>request info from site . You can use<span style="mso-spacerun: yes;">
</span>Photoshop and <span style="mso-spacerun: yes;"> </span>online tool <span style="mso-spacerun: yes;"> </span>to optimise image <span style="mso-spacerun: yes;"> </span>Photoshop is better<span style="mso-spacerun: yes;"> </span>because we don’t compromise with quality of
image in website .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">By reducing URL
Redirecting </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
When<span style="mso-spacerun: yes;"> </span>visitor<span style="mso-spacerun: yes;"> </span>visit to web browser<span style="mso-spacerun: yes;"> </span>then if you page redirecting<span style="mso-spacerun: yes;"> </span>visitor need to wait for more time<span style="mso-spacerun: yes;"> </span>to see page<span style="mso-spacerun: yes;">
</span>because page<span style="mso-spacerun: yes;"> </span>load again on
redirection<span style="mso-spacerun: yes;"> </span>HTTP request cycle to<span style="mso-spacerun: yes;"> </span>complete. So by reducing page redirection we
can increase web page load speed.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Leverage Browser
Caching </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
When your site loads in web browser it save some information
on local machine like CSS HTMl files to load page easily on next visit for repeated
resource. In the<span style="mso-spacerun: yes;"> </span>leverage<span style="mso-spacerun: yes;"> </span>browser cache you need to define the<span style="mso-spacerun: yes;"> </span>expire time for all the downloadable
data<span style="mso-spacerun: yes;"> </span>instruct<span style="mso-spacerun: yes;"> </span>browser for how much<span style="mso-spacerun: yes;"> </span>long you want<span style="mso-spacerun: yes;">
</span>to save data<span style="mso-spacerun: yes;"> </span>so if visitor visit
from same resource<span style="mso-spacerun: yes;"> </span>can see best<span style="mso-spacerun: yes;"> </span>fast page load<span style="mso-spacerun: yes;"> </span>because<span style="mso-spacerun: yes;">
</span>old resource can be used that<span style="mso-spacerun: yes;">
</span>time and no need to download all data again . you can read more about
this here <a href="http://smartinfocare.com/blog/how-to-fix-leverage-browser-caching/">Leverage
Browser Caching</a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Server Response Time
need to approve </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
There <span style="mso-spacerun: yes;"> </span>may be<span style="mso-spacerun: yes;"> </span>slow server<span style="mso-spacerun: yes;">
</span>response<span style="mso-spacerun: yes;"> </span>time<span style="mso-spacerun: yes;"> </span>due to<span style="mso-spacerun: yes;">
</span>slow database quarries<span style="mso-spacerun: yes;"> </span>,Slow routing<span style="mso-spacerun: yes;"> </span>or<span style="mso-spacerun: yes;">
</span>lack of memory<span style="mso-spacerun: yes;"> </span>you need to fix
them to increase server speed <span style="mso-spacerun: yes;"> </span>.Normal
server response time<span style="mso-spacerun: yes;"> </span>is<span style="mso-spacerun: yes;"> </span>under 200ms.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Enable Compression </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
You can use Gzip compression to compress
CSS, JS, HTML files that<span style="mso-spacerun: yes;"> </span>are larger in
size . You do not need to compress<span style="mso-spacerun: yes;"> </span>Image
files by this<span style="mso-spacerun: yes;"> </span>way<span style="mso-spacerun: yes;"> </span>because that<span style="mso-spacerun: yes;">
</span>may<span style="mso-spacerun: yes;"> </span>reduce the<span style="mso-spacerun: yes;"> </span>quality of image and<span style="mso-spacerun: yes;"> </span>you site will not look good<span style="mso-spacerun: yes;"> </span>you can use other tool Photoshop etc<span style="mso-spacerun: yes;"> </span>for that<span style="mso-spacerun: yes;">
</span>so you can maintain quality of image<span style="mso-spacerun: yes;">
</span>accordingly .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Minify<span style="mso-spacerun: yes;"> </span>Files<span style="mso-spacerun: yes;">
</span>For site CSS JS<span style="mso-spacerun: yes;"> </span>and HTML</b></div>
<div class="MsoNormal">
<br /></div>
<span style="mso-spacerun: yes;"></span>You need<span style="mso-spacerun: yes;"> </span>to<span style="mso-spacerun: yes;">
</span>minify<span style="mso-spacerun: yes;"> </span>you files<span style="mso-spacerun: yes;"> </span>css js html<span style="mso-spacerun: yes;">
</span>by removing<span style="mso-spacerun: yes;"> </span>unnecessary
data<span style="mso-spacerun: yes;"> </span>form<span style="mso-spacerun: yes;"> </span>files<span style="mso-spacerun: yes;">
</span>like<span style="mso-spacerun: yes;"> </span>comments , remove
spaces<span style="mso-spacerun: yes;"> </span>commas and<span style="mso-spacerun: yes;"> </span>other unnecessary<span style="mso-spacerun: yes;"> </span>characters . By this way you can increase
the page load speed easily. Any tool you use like<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span><a href="https://developers.google.com/speed/pagespeed/insights/">PageSpeed
Insights</a><span style="mso-spacerun: yes;"> </span>which will show you necessary
steps for the implementation to increase website speed.
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">You can use CDN
Content Distribution Network</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
CDN is the<span style="mso-spacerun: yes;">
</span>server<span style="mso-spacerun: yes;"> </span>that<span style="mso-spacerun: yes;"> </span>are used<span style="mso-spacerun: yes;">
</span>for content<span style="mso-spacerun: yes;"> </span>Distribution<span style="mso-spacerun: yes;"> </span>They save the copy of your website<span style="mso-spacerun: yes;"> </span>on different geographical <span style="mso-spacerun: yes;"> </span>server location<span style="mso-spacerun: yes;"> </span>take load on their server and<span style="mso-spacerun: yes;"> </span>if any visitor visit on you site<span style="mso-spacerun: yes;"> </span>they provide all info which load faster .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-74921548093626403312017-01-10T03:21:00.003-08:002017-01-10T03:23:45.653-08:00Leverage browser caching<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 1;">
<b><span data-mce-style="font-size: 16.0pt; font-family: 'Times New Roman','serif'; mso-fareast-font-family: 'Times New Roman'; mso-font-kerning: 18.0pt; mso-fareast-language: EN-IN;" style="font-family: "times new roman" , "serif"; font-size: 16.0pt;"></span></b></div>
<div class="MsoNormal">
<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>IF you visit some site
browser will save some files<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">on local machine
which is call browser caching.</span></div>
<br />
<div class="MsoNormal">
<span class="mceItemHidden">Leverage browser <span class="hiddenSpellError">cache</span> is that </span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">to instruct browser how to use their resources
files which <span class="hiddenGrammarError">is downloaded</span></span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>by browser on
local machine .</div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>When visitor<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>visit the site<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>browser loads some files<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>on local machine<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">like <span class="hiddenSpellError">css</span></span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>images logo etc so if user visit<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>on other page browser use their resources<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">which <span class="hiddenGrammarError">is downloaded</span> on local machine</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>so<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>in
this<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>way<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>on first page load it take time <span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>after that other page<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>will load easily because browser already loaded
some<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>need<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>resource files which is repeating in
site<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>to display that properly.</div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
In leverage browser caching<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>your web page files get stored in web browser cache so your page<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>load<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>faster because other<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>pages share
the repeated resources<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>which is already
downloaded .</div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span data-mce-style="font-size: 16.0pt; line-height: 115%;" style="font-size: 16.0pt; line-height: 115%;">How to use Leverage Browser Caching </span></b></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><b style="mso-bidi-font-weight: normal;">First change request header of your resource to use caching</b> .</div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span class="mceItemHidden">Caching strategy need
<span class="hiddenGrammarError">to be</span> optimised</span></b>.</div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span data-mce-style="font-size: 16.0pt; line-height: 115%;" style="font-size: 16.0pt; line-height: 115%;">To Set Difference cache time for
different files resource saved on local machine.</span></b></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>You need<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">to add some code in . <span class="hiddenSpellError">htaccess</span> to</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>give instruction to<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>web browser<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>which resource need to save<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>and
for how much time it need to stored in web browser .</div>
<br />
<div class="MsoNormal">
<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">You need to add code
at top of your .<span class="hiddenSpellError">htacess</span> files </span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
## <span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden"><span class="hiddenSpellError">LEAVERAGE</span> BROWSER EXPIRES
CACHING ##</span><br />
<span class="mceItemHidden">
<<span class="hiddenSpellError">IfModule</span> mod_expires.c></span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresActive</span> On</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> image/jpg "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> image/<span class="hiddenSpellError">jpeg</span> "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> image/gif "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> image/<span class="hiddenSpellError">png</span> "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> text/<span class="hiddenSpellError">css</span> "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> text/html "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> application/<span class="hiddenSpellError">pdf</span> "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> text/<span class="hiddenSpellError">x-javascript</span> "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> application/x-shockwave-flash "access 1 month"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresByType</span> image/x-icon "access 1 year"</span><br />
<span class="mceItemHidden">
<span class="hiddenSpellError">ExpiresDefault</span> "access 1 month"</span><br />
</IfModule><br />
<span class="mceItemHidden">
## <span class="hiddenSpellError">LEAVERAGE</span> BROWSER EXPIRES CACHING ##</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span class="mceItemHidden">After adding code in . <span class="hiddenSpellError">htaccess</span> files</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>you need to save<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">it at same <span class="hiddenSuggestion">location</span> on root where it is</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>after<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>that<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>refresh browser and<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>see changes .</div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span data-mce-style="font-size: 16.0pt; line-height: 115%;" style="font-size: 16.0pt; line-height: 115%;">Other Method cache-Control Method</span></b></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span class="mceItemHidden">Other cache control method is much easier to control browser
cache <span class="hiddenSuggestion">which is</span></span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">saving on your local
machine . Many People <span class="hiddenSpellError">fine</span> it easier <span class="hiddenGrammarError">to setup</span>.</span></div>
<br />
<div class="MsoNormal">
You need to add the<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span><span class="mceItemHidden">given below code in your <span class="hiddenSpellError">root</span> .<span class="hiddenSpellError">htaccess</span> files</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">click on .<span class="hiddenSpellError">htacess</span> files edit it add code in
it and save file.</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
# 1 Month for most static assets<br />
<span class="mceItemHidden">
<<span class="hiddenSpellError">filesMatch</span> ".(css|jpg|jpeg|png|gif|js|ico)$"></span><br />
Header set Cache-Control "max-age=2592000, public" <span class="mceItemHidden">filesMatch></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
</div>
<br />
<div class="MsoNormal">
It<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>will set up cache
control according to your file type .</div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span data-mce-style="font-size: 16.0pt; line-height: 115%;" style="font-size: 16.0pt; line-height: 115%;"><span class="mceItemHidden"><span class="hiddenSpellError">Explaination</span></span></span></b></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"># 1 Month for most
static assets</b></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span></b><span class="mceItemHidden">This code is comment part of <span class="hiddenSpellError">htaccess</span> </span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">file. Because any line with # sign <span class="hiddenSpellError">htaccess</span> </span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>ignore that<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span>line<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>so we use it for commenting
.</div>
<br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><filesMatch
".(css|jpg|jpeg|png|gif|js|ico)$"></b></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>In the above line code
will work for<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>any type of file which extension
provided in code will follow the caching instructions. You can add more<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>file extension in this if you want to
apply<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>caching instruction on them also
if you want to<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">any type of file like <span class="hiddenSpellError">png</span>
or <span class="hiddenSpellError">css</span> don’t want to</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>apply cache rule on
file you can simply remove<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>them from the
given line .</div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Header set
Cache-Control "max-age=2592000, public"</b></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span class="mceItemHidden">Here is the real header added and time value given.</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Header set
Cache-Control <span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span></b>is the part of<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>setting header .<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><b style="mso-bidi-font-weight: normal;">max-age=2592000, public<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span></b><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>It<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>is
used to set the<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>time for how<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>long<span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;">
</span><span class="mceItemHidden">it <span class="hiddenGrammarError">should be</span> cached </span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">it's in
seconds</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">it's nearly one month.</span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span></div>
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Public <span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span></b>It <span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span><span class="mceItemHidden">show the status of <span class="hiddenSpellError">cache</span> public which is good </span><span data-mce-style="mso-spacerun: yes;" style="mso-spacerun: yes;"> </span>to use .</div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
<br />
<br /></div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-50079667481821989172017-01-05T23:06:00.000-08:002017-01-05T23:09:52.148-08:00Features Of new version (wordpress 4.7) of wordpress <div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-IN</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-fareast-language:EN-US;}
</style>
<![endif]-->
<br />
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 1.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;">New<span style="mso-spacerun: yes;"> </span>Twenty
Seventeen<span style="mso-spacerun: yes;"> </span>Theme </b></div>
<div class="MsoListParagraphCxSpMiddle">
A new theme added in New Release of wordpress
<span style="mso-spacerun: yes;"> </span>4.7 <span style="mso-spacerun: yes;"> </span>with video header<span style="mso-spacerun: yes;"> </span>feature . Theme is mainly focus on business sites
<span style="mso-spacerun: yes;"> </span>and features<span style="mso-spacerun: yes;"> </span>a customizable front page with multiple sections
.You can use them with the help of widgets<span style="mso-spacerun: yes;">
</span>, Navigation , Social menu , Logo , Custom<span style="mso-spacerun: yes;"> </span>Colours <span style="mso-spacerun: yes;"> </span>and other many<span style="mso-spacerun: yes;">
</span>things .</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 2.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;">No Destructive Live Previews</b></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="mso-spacerun: yes;"> </span></div>
<div class="MsoListParagraphCxSpMiddle">
In wordpress 4.7<span style="mso-spacerun: yes;"> </span>new feature is you can review the<span style="mso-spacerun: yes;"> </span>live<span style="mso-spacerun: yes;">
</span>preview of site<span style="mso-spacerun: yes;"> </span>without saving
the<span style="mso-spacerun: yes;"> </span>actual changes to add them on site .
In the customise section all the parts of site visible which you able to
customize while live previewing. Click on any icon and start editing and you
can customize your site in faster way.</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 3.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;">Smooth Menu Building </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
Lastly in many site have menu<span style="mso-spacerun: yes;"> </span>and that links to pages of you site. But
what you can do </div>
<div class="MsoListParagraphCxSpMiddle">
When there is no pages yet . Now in new
version you once create menu in the menu section when you publish menu section
you will automatically <span style="mso-spacerun: yes;"> </span>get new pages for
site<span style="mso-spacerun: yes;"> </span>to fill the<span style="mso-spacerun: yes;"> </span>content in them.</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 4.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;"><span style="mso-spacerun: yes;"></span>Custom CSS </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="mso-spacerun: yes;"> </span>Some
time when you need to<span style="mso-spacerun: yes;"> </span>make some little
changes with css on your site<span style="mso-spacerun: yes;"> </span>to make
that look better<span style="mso-spacerun: yes;"> </span>or solve little<span style="mso-spacerun: yes;"> </span>issue to make your site perfect . Wordpress
new version 4.7 help you to add custom CSS and you can check changes on frontend
after saving that in backend. Also Preview with work directly without refresh
pages.</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 5. <span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;">PDF Thumbnail Previews <span style="mso-spacerun: yes;"> </span></b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
Lastly in wordpress when you are uploading
any PDF in media<span style="mso-spacerun: yes;"> </span>section it will show
you default thumbnail<span style="mso-spacerun: yes;"> </span>there<span style="mso-spacerun: yes;"> </span>for PDF doc. In NEW wordpress 4.7<span style="mso-spacerun: yes;"> </span>you<span style="mso-spacerun: yes;">
</span>will<span style="mso-spacerun: yes;"> </span>see auto generated<span style="mso-spacerun: yes;"> </span>PDF<span style="mso-spacerun: yes;">
</span>thumbnail<span style="mso-spacerun: yes;"> </span>so you can easily
distinguish between different documents .</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 6. <span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;">Dashboard In your Language </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="mso-spacerun: yes;">
</span>One language<span style="mso-spacerun: yes;"> </span>doest mean that<span style="mso-spacerun: yes;"> </span>every body will<span style="mso-spacerun: yes;"> </span>prefer same language for site . In New
wordpress 4.7<span style="mso-spacerun: yes;"> </span>you<span style="mso-spacerun: yes;"> </span>will get<span style="mso-spacerun: yes;">
</span>user language option to<span style="mso-spacerun: yes;"> </span>change
you language<span style="mso-spacerun: yes;"> </span>.It will<span style="mso-spacerun: yes;"> </span>show in wordpress user<span style="mso-spacerun: yes;"> </span>Profiles .</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 7.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;">Rest API End Points </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
New Wordpress 4.7<span style="mso-spacerun: yes;"> </span>comes with<span style="mso-spacerun: yes;">
</span>REST API<span style="mso-spacerun: yes;"> </span>endpoints for posts ,
Comments , terms , users , meta<span style="mso-spacerun: yes;"> </span>and
settings .Content<span style="mso-spacerun: yes;"> </span>endpoints provide
machine-readable <span style="mso-spacerun: yes;"> </span>external<span style="mso-spacerun: yes;"> </span>access to your wordpress site .</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 8.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;"><span style="mso-spacerun: yes;"></span>Post
Type<span style="mso-spacerun: yes;"> </span>Templates </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpLast">
<span style="mso-spacerun: yes;"> </span>New<span style="mso-spacerun: yes;">
</span>opening for wordpress developer<span style="mso-spacerun: yes;">
</span>is<span style="mso-spacerun: yes;"> </span>post<span style="mso-spacerun: yes;"> </span>type<span style="mso-spacerun: yes;">
</span>template<span style="mso-spacerun: yes;"> </span>like the one we are using<span style="mso-spacerun: yes;"> </span>for<span style="mso-spacerun: yes;"> </span>page
template . You can create it easily by same way like </div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"><?php</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">/*</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">Template Name: New Post layout</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">Template Post Type: post, page, product</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">*/</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">// … your code here</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
When At least one template exists
in theme for post type<span style="mso-spacerun: yes;"> </span>“Post attributes”
<span style="mso-spacerun: yes;"> </span>meta box will display in backend . Post attribute
label can be customized<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span>per post type using “attributes” <span style="mso-spacerun: yes;"> </span>label when registering post type . </div>
<div class="MsoListParagraphCxSpFirst">
<span style="mso-spacerun: yes;"> </span><span style="mso-spacerun: yes;"> </span><span style="mso-tab-count: 1;"> </span></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> <b> 9<span style="font: 7.0pt "Times New Roman";">
</span></b></span></span><b>Custom Bulk Actions </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<span style="mso-spacerun: yes;">
</span>In wordpress 4.7 developer can Register custom bulk action in the list
table<span style="mso-spacerun: yes;"> </span>screen in the<span style="mso-spacerun: yes;"> </span>backend screen.</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpLast">
To add bulk action<span style="mso-spacerun: yes;"> </span>email to all<span style="mso-spacerun: yes;">
</span>you can use the<span style="mso-spacerun: yes;"> </span>same function
way<span style="mso-spacerun: yes;"> </span>below :</div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">add_filter( 'bulk_actions-edit-post', 'register_new_bulk_actions'</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">);</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">function</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">register_new_bulk_actions($bulk_actions) {</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> $bulk_actions['email_to_all'] = __(
'Email to All', 'email_to_all');</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> return</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">$bulk_actions;</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">}</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoListParagraphCxSpFirst">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<b style="mso-bidi-font-weight: normal;"><span style="mso-spacerun: yes;"> </span>Now how to handle the form submission </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
TO handle bulk action register a call
back<span style="mso-spacerun: yes;"> </span><code><span style="font-size: 10.0pt; line-height: 115%; mso-fareast-font-family: Calibri; mso-fareast-theme-font: minor-latin;">handle_bulk_actions-edit-post</span></code></div>
<div class="MsoListParagraphCxSpLast">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">add_filter( 'handle_bulk_actions-edit-post', 'new_bulk_action_handler',
10, 3 );</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">function</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">new_bulk_action_handler( $redirect_to, $doaction,
$post_ids</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">) {</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> if</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">( $doaction</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">!== 'email_to_all'</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">) {</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> return</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">$redirect_to;</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> }</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> foreach</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">( $post_ids</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">as</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">$post_id</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">) {</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> // action for each post.</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> }</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> $redirect_to</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">=
add_query_arg( 'bulk_emailed_posts', count( $post_ids</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">),
$redirect_to</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">); return</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">$redirect_to;<span style="mso-spacerun: yes;"> </span>}</span></b></div>
<div class="MsoListParagraph">
<b style="mso-bidi-font-weight: normal;">Show Notices</b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">add_action( 'admin_notices', 'new_bulk_action_admin_notice'</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">);</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">function</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">new_bulk_action_admin_notice() {</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> if</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">( ! empty( $_REQUEST['bulk_emailed_posts'] ) ) {</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> $emailed_count</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">= intval(
$_REQUEST['bulk_emailed_posts'] );</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> printf( '<div
id="message" class="updated fade">'</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">.</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> _n( 'Emailed %s
post to All.',</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> 'Emailed
%s posts to All.',</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> $emailed_count,</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> 'email_to_all'</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> ) .
'</div>', $emailed_count</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"> </span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">);</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;"> }</span></b><b style="mso-bidi-font-weight: normal;"><span style="font-family: "times new roman" , "serif"; font-size: 12.0pt;"></span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<b style="mso-bidi-font-weight: normal;"><span style="font-family: "courier new"; font-size: 10.0pt;">}</span></b></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 72.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm; margin-left: 36.0pt; margin-right: 0cm; margin-top: 0cm;">
<br /></div>
<div class="MsoListParagraphCxSpFirst">
<br /></div>
<div class="MsoListParagraphCxSpLast" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 10.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;">WP_Hook</b></div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
New wordpress release 4.7<span style="mso-spacerun: yes;"> </span>introduced reworking of action and filters iteration
to address bugs that arose from recursive call back and from the call back that
changed<span style="mso-spacerun: yes;"> </span>the hooked call backs on
currently running actions and filters. All the<span style="mso-spacerun: yes;">
</span>things<span style="mso-spacerun: yes;"> </span>are<span style="mso-spacerun: yes;"> </span>look like same for all the<span style="mso-spacerun: yes;"> </span>developer<span style="mso-spacerun: yes;">
</span>as expected<span style="mso-spacerun: yes;"> </span>this shuld fix number
of hard traces bugs<span style="mso-spacerun: yes;"> </span>when different plug-in
make call back .</div>
<div class="MsoNormal" style="margin-left: 36.0pt;">
<br /></div>
<div class="MsoListParagraphCxSpFirst" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 11.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;"><span style="mso-spacerun: yes;"></span>Registration Api Settings </b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
Register_setting()<span style="mso-spacerun: yes;"> </span>used to include type description and rest API
Visibility Its<span style="mso-spacerun: yes;"> </span>improved enabled more
information for developer<span style="mso-spacerun: yes;"> </span>about meta .</div>
<div class="MsoListParagraphCxSpMiddle">
Register_setting<span style="mso-spacerun: yes;"> </span>now accept an array<span style="mso-spacerun: yes;"> </span>for argument<span style="mso-spacerun: yes;">
</span>which allow <span style="mso-spacerun: yes;"> </span>wordpress core to
know more about settings . This is usefull for REST API, where wordpress needs
to know more about <span style="mso-spacerun: yes;"> </span>type of data settings
.</div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpMiddle" style="mso-list: l0 level1 lfo1; text-indent: -18.0pt;">
<b style="mso-bidi-font-weight: normal;"><span style="mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;"><span style="mso-list: Ignore;"> 12.<span style="font: 7.0pt "Times New Roman";"> </span></span></span></b><b style="mso-bidi-font-weight: normal;"><span style="mso-spacerun: yes;"></span>Customize
Change sets</b></div>
<div class="MsoListParagraphCxSpMiddle">
<br /></div>
<div class="MsoListParagraphCxSpLast">
Changes in customizer like auto save <span style="mso-spacerun: yes;"> </span>drafts also make<span style="mso-spacerun: yes;"> </span>existing<span style="mso-spacerun: yes;">
</span>new feature<span style="mso-spacerun: yes;"> </span>like starter
content<span style="mso-spacerun: yes;"> </span>possible.</div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-78536575651386209502017-01-03T21:44:00.000-08:002017-01-03T21:44:01.687-08:00Why Your Website should be mobile friendly<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-IN</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
In web site designing its major point in today that website<span style="mso-spacerun: yes;"> </span>should be mobile friendly.</div>
<div class="MsoNormal">
Mobile<span style="mso-spacerun: yes;"> </span>friendly<span style="mso-spacerun: yes;"> </span>mean that<span style="mso-spacerun: yes;">
</span>any time any visitor<span style="mso-spacerun: yes;"> </span>surf from
mobile browser<span style="mso-spacerun: yes;"> </span>he she able to view<span style="mso-spacerun: yes;"> </span>site<span style="mso-spacerun: yes;">
</span>best<span style="mso-spacerun: yes;"> </span>all content and images
properly<span style="mso-spacerun: yes;"> </span>in mobile<span style="mso-spacerun: yes;"> </span>screen so<span style="mso-spacerun: yes;">
</span>they<span style="mso-spacerun: yes;"> </span>get<span style="mso-spacerun: yes;"> </span>better mobile experience . As<span style="mso-spacerun: yes;"> </span>per SEO <span style="mso-spacerun: yes;"> </span>point of view<span style="mso-spacerun: yes;">
</span>its<span style="mso-spacerun: yes;"> </span>needed because<span style="mso-spacerun: yes;"> </span>in today’s world most of traffic comes from mobile
devices<span style="mso-spacerun: yes;"> </span>so<span style="mso-spacerun: yes;"> </span>we need<span style="mso-spacerun: yes;">
</span>mobile<span style="mso-spacerun: yes;"> </span>friendly <span style="mso-spacerun: yes;"> </span>website .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
There is also other reason to use mobile friendly websites </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Google Prefer </b>mobile
friendly website <span style="mso-spacerun: yes;"> </span>over those of non
mobile friendly websites. In 2015 google<span style="mso-spacerun: yes;">
</span>added<span style="mso-spacerun: yes;"> </span>new<span style="mso-spacerun: yes;"> </span>algorithm <span style="mso-spacerun: yes;"> </span>a way for mobile search results website have
low rank which is not mobile friendly <span style="mso-spacerun: yes;"> </span>so
we need to make<span style="mso-spacerun: yes;"> </span>our website<span style="mso-spacerun: yes;"> </span>mobile<span style="mso-spacerun: yes;">
</span>friendly for best ranking.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Website Will look best<span style="mso-spacerun: yes;"> </span>and work well on any device.</b> <span style="mso-spacerun: yes;"> </span>Any <span style="mso-spacerun: yes;"> </span>Visitor<span style="mso-spacerun: yes;">
</span>visit from mobile device<span style="mso-spacerun: yes;"> </span>if he
get<span style="mso-spacerun: yes;"> </span>better<span style="mso-spacerun: yes;"> </span>look and<span style="mso-spacerun: yes;">
</span>functionality <span style="mso-spacerun: yes;"> </span>they will visit
again and it<span style="mso-spacerun: yes;"> </span>shows positive feedback for
site and site go high in ranking and traffic if its<span style="mso-spacerun: yes;"> </span>mobile<span style="mso-spacerun: yes;">
</span>friendly .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Its what<span style="mso-spacerun: yes;"> </span>our customer wants</b> and we need to provide
it for them so they get better<span style="mso-spacerun: yes;"> </span>experience
in mobile<span style="mso-spacerun: yes;"> </span>devices because 75% user<span style="mso-spacerun: yes;"> </span>on site<span style="mso-spacerun: yes;">
</span>comes from mobile devices . because normal simple website <span style="mso-spacerun: yes;"> </span>will not look well in mobile device.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">You will lose your business</b>
if you have no mobile friendly website. You will probably lose your business if
you are using only standard website and no mobile friendly website. Give you
customer what<span style="mso-spacerun: yes;"> </span>they<span style="mso-spacerun: yes;"> </span>want<span style="mso-spacerun: yes;">
</span>in mobile devices<span style="mso-spacerun: yes;"> </span>fast loading
pages<span style="mso-spacerun: yes;"> </span>better<span style="mso-spacerun: yes;"> </span>user<span style="mso-spacerun: yes;"> </span>experience
<span style="mso-spacerun: yes;"> </span>good look and feel<span style="mso-spacerun: yes;"> </span>easy navigation. Grab hold of that growing
number of customer who uses mobile devices to shop. Also Keep Google<span style="mso-spacerun: yes;"> </span>happy<span style="mso-spacerun: yes;">
</span>so your site<span style="mso-spacerun: yes;"> </span>won’t disappear from<span style="mso-spacerun: yes;"> </span>search results.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">Don’t Ignore<span style="mso-spacerun: yes;"> </span>your customer<span style="mso-spacerun: yes;">
</span>because most of customer<span style="mso-spacerun: yes;"> </span>searching
on mobile<span style="mso-spacerun: yes;"> </span>devices and<span style="mso-spacerun: yes;"> </span>we need to given then better<span style="mso-spacerun: yes;"> </span>experience <span style="mso-spacerun: yes;"> </span>which they<span style="mso-spacerun: yes;">
</span>needed<span style="mso-spacerun: yes;"> </span>to work easily on mobile
devices .</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
There are different ways to make the website mobile friendly.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">1</b>. <span style="mso-spacerun: yes;"> </span>Use already created template or themes <span style="mso-spacerun: yes;"> </span>for development which is mobile friendly</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">2.</b><span style="mso-spacerun: yes;"> </span>Write media query css for site to set your
design as per requirement in different mobile screens.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">3.</b> <span style="mso-spacerun: yes;"> </span>Use Bootstrap css Frame work in website designing.
In bootstrap framework you will get predefined classed and section you can use
them in your design to <span style="mso-spacerun: yes;"> </span>work easily by
adding classes .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;">4.</b> If you are using
any cms like word press you can go for related plug-in to make site responsive.</div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-58666245580283448172017-01-02T23:01:00.006-08:002017-01-02T23:04:07.462-08:00Improve Your Website's Google Ranking <div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-IN</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
There are no guarantees and no quick schemes. If
someone promises you quick results, it's probably a scam. No matter what you
do, make sure you make a site that <i><span style="font-family: "calibri" , "sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">you want to visit</span></i>
and written <i><span style="font-family: "calibri" , "sans-serif"; mso-ascii-theme-font: minor-latin; mso-bidi-font-family: "Times New Roman"; mso-bidi-theme-font: minor-bidi; mso-hansi-theme-font: minor-latin;">the way humans would want to read it</span></i>.</div>
<div class="MsoNormal">
<br /></div>
<h3>
<span style="color: #3d85c6;">1. <span style="mso-spacerun: yes;"> </span>Keyword Phrases</span></h3>
<h3>
<span style="color: #3d85c6;"> </span></h3>
keyword phrase is the words you think someone is most likely to put into a
search engine to find your content .what you think the subject of your page
would be according to Google. You could put focus on keyword phrase and improve
your site ranking. Your keyword phrase should obviously appear somewhere in
your content, preferably in the first paragraph.<br />
Again, the point here is just use the words that people are most likely to
use when searching for a page about your topic. Telling people what they're
about to read is helpful.<br />
<h3>
</h3>
<h3>
<span style="color: #6fa8dc;"><span style="background-color: white;">2. <span style="mso-spacerun: yes;"> </span>Keyword Density</span></span></h3>
<h3>
<span style="color: #6fa8dc;"><span style="background-color: white;"> </span></span></h3>
Google looks for when it check <span style="mso-spacerun: yes;"> </span>pages
is the <b><span style="mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">density</span></b> of the keyword
usage. In other words, how often the keyword occurs. Use natural phrasing. Don't
try to trick the search engine by repeating the same word over and over or
making text "invisible." It doesn't work. In fact, some of that behaviour
even get your website blocked by google.<br />
Give a strong opening paragraph that says what your page is actually about.<br />
<div class="cb-split">
This is just good practice, but it may help search engines
find your page, too.<br />
<br /></div>
<h3>
<span style="color: #6fa8dc;">3. <span style="mso-spacerun: yes;"> </span>Name Your Pages </span></h3>
<h3>
<span style="color: #6fa8dc;"> </span></h3>
<div class="cb-split">
Give <span style="mso-spacerun: yes;"> </span>pages a descriptive
name with the title . Google often displays search results as a link using the
Web page's title, so write it like you want it to be read. A link called
'untitled' or with no title<span style="mso-spacerun: yes;"> </span>nobody is
going to click on it. When appropriate, use the page's keyword phrase in the
title.<br />
<br /></div>
<h3>
<span style="color: #6fa8dc;">4. <span style="mso-spacerun: yes;"> </span>Give Attention to Links</span></h3>
<div class="MsoNormal">
<br /></div>
One of the major factors Google looks at is the hyperlink. Google looks at
both links to and from your website.<br />
Google looks at <span style="mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">the words you use</span> in links to help
determine the content of your page. Use links within web pages as a way to
emphasize keywords. Rather than saying, "click here to learn more
about <span style="mso-spacerun: yes;"> </span>blog creation" you should
say: Read more about <span style="mso-spacerun: yes;"> </span>blog creation(How
to create best blog ).<br />
Links from other websites to your website are used to determine <span style="mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">PageRank</span>.<br />
You can improve your PageRank by exchanging text links with other relevant
websites. Linking to your own website is fine. Be a good citizen and link to
places other than your own website - but only when relevant. Banner exchanges
are <b><i>not </i></b>effective, and pages that want to charge you
for this service are often known spammers that can hurt your rank.<br />
<div class="MsoNormal">
<br /></div>
<h3>
<span style="color: #6fa8dc;">5. Social Networking</span></h3>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Social networking sites <span style="mso-spacerun: yes;"> </span>are <span style="mso-spacerun: yes;"> </span>good
way to promote a site, but it is unclear how much it will affect your rank
directly. That said, you may find that a great deal of your traffic comes
from social networks, so be sure to make your content "social
friendly." Add images and give your content engaging titles. </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="color: #548dd4; mso-themecolor: text2; mso-themetint: 153;">6. Make Website
Mobile Friendly</span></b><br />
</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Increasing number of people are using their phones to search
for content. You want to make your content mobile-friendly for the sake of good
user experience, but you also want to do it for the sake of search. There's no
guessing on this one. Google has indicated that mobile-friendliness is a Google
ranking signal you can use bootstrap template which will provide you best
mobile friendly environment when developing site.</div>
<div class="MsoNormal">
<br /></div>
<h3 style="text-align: left;">
<span style="color: #6fa8dc;">7. <span style="mso-spacerun: yes;"> </span>Publish Relevant Content</span></h3>
<h3 style="text-align: left;">
<span style="color: #6fa8dc;"> </span></h3>
Quality content is major point <span style="mso-spacerun: yes;"> </span>of
your search engine rankings and there is no substitute for great content.
Quality content created specifically for your <span style="mso-spacerun: yes;"> </span>user increases site traffic, which improves
your sites authority.<br />
Don not <span style="mso-spacerun: yes;"> </span>forget to use bold, italics,
heading tags, and other emphasis tags to highlight keyword phrases, but don’t
overdo it.<br />
<h2>
</h2>
<h3 style="text-align: left;">
<span style="color: #6fa8dc;">8. Update Your Content Regularly</span></h3>
<h3 style="text-align: left;">
<span style="color: #6fa8dc;"> </span></h3>
You noticed that we feel pretty strongly about content. Search engines do,
too. Regularly updated content is viewed as one of the best indicators of a
site’s relevancy, so be sure to keep it fresh.<br />
<br />
<br />
<h3 style="text-align: left;">
<span style="color: #6fa8dc;">9. Metadata</span></h3>
<h3 style="text-align: left;">
<span style="color: #6fa8dc;"> </span></h3>
Designing your website, each page contains a space between the <head> tags
to insert metadata, or information about the contents of your page.<br />
Some Of popular Meta Tags are<br />
<br />
<b><span style="mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">Title Metadata</span></b><br />
Responsible for the page titles displayed at the top of a browser window. It
is the most important metadata on your page.<b></b><br />
<br />
<b><span style="mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">Description Metadata</span></b><br />
Is the textual description that a browser will use in your page search
return. Think of it as your site’s window display<b></b><br />
<br />
<b><span style="mso-fareast-font-family: "Times New Roman"; mso-fareast-theme-font: major-fareast;">Keyword Metadata</span></b><br />
Are the search phrases that people type when they want to find your page.
You’ll want to include a variety of phrases. However, don’t get greedy if your
list becomes excessive, the browser may completely ignore the data. As a
general rule, try to keep it to about 6-8 phrases with each phrase consisting
of 1-4 words.<br />
<br /></div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-91733429112308137182017-01-02T09:03:00.001-08:002017-01-02T09:03:50.984-08:00Why Google Prefers Mobile Friendly Websites <div dir="ltr" style="text-align: left;" trbidi="on">
Search Engine Optimization has historically on content for ranking
. Google is changing the rules and they will be using
mobile-friendliness as a ranking element.<br />
<em>“ we will be expanding our use of mobile-friendliness as a
ranking signal. This change will affect mobile searches in all languages
worldwide and will have a significant impact in our search results.
Consequently, users will find it easier to get relevant, high quality
search results that are optimized for their devices</em>”<br />
As the general use of mobile devices steadily increases, having
website content that responds to the device being used, displaying it in
a device friendly manner is becoming the standard for businesses today.<br />
Google try to provide search results that are relevant. In order
for a business website to be relevant to Google in today’s marketplace,
content AND a mobile friendly environment are critical for successful
search results.<br />
In order to have a mobile friendly website, you need a content management system with a responsive design feature.<br />
By using Responsive Design, smartinfocare allows a single web
experience to be optimized for an unlimited number of devices. These
optimizations can be previewed and tested using a built-in emulator that
simulates how the page will be transformed for smartphones and
tablets. Supported devices include: iPhone, iPad , other Tab, and more.<br />
Responsive Design is based on web standards and supported in all
modern web browsers. It’s based on a technology called “Media Queries”
that was outlined in the W3C CSS3 (Cascading Style Sheet) specification.
Media Queries allow different styles to be specified for different
devices, and Smartinfocare connects these styles to your website .</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-20467665844295792752016-12-23T09:39:00.000-08:002016-12-23T09:39:12.017-08:00What is Difference between Google Crawling and Indexing?<div dir="ltr" style="text-align: left;" trbidi="on">
hese are the two terms upon which the <strong>entire web world depends </strong>and all the site search and ranking depend on these two<strong>.</strong>
<br />
Now let us define, and understand, and get some depth information about crawling and indexing.<br />
<strong><em>Crawling:</em></strong><br />
When Google visits your website for <strong>tracking purposes</strong>. This process is done by Google’s Spider crawler and its call <strong>crawling</strong>
it happened automatically on server and google will update your new
data in search engine to make that easily searchable which is
indexing in other word.<br />
In the Site SEO world, crawling means <strong>following your links</strong> and “<strong>crawling</strong>” around your website. When bots come to your website (any page), they follow other linked pages also on your website.<br />
This is one reason <strong>why we create site maps,</strong> as they contain all of the links in our blog and Google’s bots can use them to <em><strong>look deeply into a website.</strong></em><br />
<br />
<strong><em>Indexing:</em></strong><br />
After crawling has been done all the data tracked and monitored , the
results get put onto Google’s index mean all the resulted data will be
added to search so visitor on google search who are searching data can
see results in search with other results.<br />
In layman’s terms, indexing is the<strong> process of adding webpages into Google search.</strong><br />
Its on Meta tag you used (index or NO-index), <em>Google will crawl and index your pages.</em> A no-index tag means that that page<strong> will not be added into the web search’s index.</strong><br />
<strong><em>By default, every WordPress post and page is indexed because its best cms for bloging .</em></strong><br />
A good idea for <strong>ranking higher in search engines</strong> is to let <strong><em>only vital parts</em></strong> of your blog/website be indexed.</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-77506149586818643692016-10-05T04:30:00.004-07:002016-10-05T04:35:46.457-07:00Snake Games<!-- Lets make a simple snake game --><br />
<canvas id="canvas" width="450" height="450"></canvas><br />
<br />
<!-- Jquery --><br />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script><br />
<script>
$(document).ready(function(){
//Canvas stuff
var canvas = $("#canvas")[0];
var ctx = canvas.getContext("2d");
var w = $("#canvas").width();
var h = $("#canvas").height();
//Lets save the cell width in a variable for easy control
var cw = 10;
var d;
var food;
var score;
//Lets create the snake now
var snake_array; //an array of cells to make up the snake
function init()
{
d = "right"; //default direction
create_snake();
create_food(); //Now we can see the food particle
//finally lets display the score
score = 0;
//Lets move the snake now using a timer which will trigger the paint function
//every 60ms
if(typeof game_loop != "undefined") clearInterval(game_loop);
game_loop = setInterval(paint, 60);
}
init();
function create_snake()
{
var length = 5; //Length of the snake
snake_array = []; //Empty array to start with
for(var i = length-1; i>=0; i--)
{
//This will create a horizontal snake starting from the top left
snake_array.push({x: i, y:0});
}
}
//Lets create the food now
function create_food()
{
food = {
x: Math.round(Math.random()*(w-cw)/cw),
y: Math.round(Math.random()*(h-cw)/cw),
};
//This will create a cell with x/y between 0-44
//Because there are 45(450/10) positions accross the rows and columns
}
//Lets paint the snake now
function paint()
{
//To avoid the snake trail we need to paint the BG on every frame
//Lets paint the canvas now
ctx.fillStyle = "white";
ctx.fillRect(0, 0, w, h);
ctx.strokeStyle = "black";
ctx.strokeRect(0, 0, w, h);
//The movement code for the snake to come here.
//The logic is simple
//Pop out the tail cell and place it infront of the head cell
var nx = snake_array[0].x;
var ny = snake_array[0].y;
//These were the position of the head cell.
//We will increment it to get the new head position
//Lets add proper direction based movement now
if(d == "right") nx++;
else if(d == "left") nx--;
else if(d == "up") ny--;
else if(d == "down") ny++;
//Lets add the game over clauses now
//This will restart the game if the snake hits the wall
//Lets add the code for body collision
//Now if the head of the snake bumps into its body, the game will restart
if(nx == -1 || nx == w/cw || ny == -1 || ny == h/cw || check_collision(nx, ny, snake_array))
{
//restart game
init();
//Lets organize the code a bit now.
return;
}
//Lets write the code to make the snake eat the food
//The logic is simple
//If the new head position matches with that of the food,
//Create a new head instead of moving the tail
if(nx == food.x && ny == food.y)
{
var tail = {x: nx, y: ny};
score++;
//Create new food
create_food();
}
else
{
var tail = snake_array.pop(); //pops out the last cell
tail.x = nx; tail.y = ny;
}
//The snake can now eat the food.
snake_array.unshift(tail); //puts back the tail as the first cell
for(var i = 0; i < snake_array.length; i++)
{
var c = snake_array[i];
//Lets paint 10px wide cells
paint_cell(c.x, c.y);
}
//Lets paint the food
paint_cell(food.x, food.y);
//Lets paint the score
var score_text = "Score: " + score;
ctx.fillText(score_text, 5, h-5);
}
//Lets first create a generic function to paint cells
function paint_cell(x, y)
{
ctx.fillStyle = "blue";
ctx.fillRect(x*cw, y*cw, cw, cw);
ctx.strokeStyle = "white";
ctx.strokeRect(x*cw, y*cw, cw, cw);
}
function check_collision(x, y, array)
{
//This function will check if the provided x/y coordinates exist
//in an array of cells or not
for(var i = 0; i < array.length; i++)
{
if(array[i].x == x && array[i].y == y)
return true;
}
return false;
}
//Lets add the keyboard controls now
$(document).keydown(function(e){
var key = e.which;
//We will add another clause to prevent reverse gear
if(key == "37" && d != "right") d = "left";
else if(key == "38" && d != "down") d = "up";
else if(key == "39" && d != "left") d = "right";
else if(key == "40" && d != "up") d = "down";
//The snake is now keyboard controllable
})
})
</script><div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-22573046359528777182016-06-10T02:58:00.003-07:002016-06-10T02:59:29.015-07:00Common Uses of Bootstrap<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-IN</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]-->
<h2>
<span class="MsoSubtleEmphasis">1. First of
all, Bootstrap is the most popular framework for creating layouts. Here are
some additional reasons to use Bootstrap:</span></h2>
<h2>
<span class="MsoSubtleEmphasis">Bootstrap's responsive CSS adjusts to phones,
tablets, and desktops</span></h2>
<h2>
<span class="MsoSubtleEmphasis">Mobile-first styles are part of the framework</span></h2>
<h2>
<span class="MsoSubtleEmphasis">Bootstrap is compatible with all modern
browsers (Chrome, Firefox, Internet Explorer, Safari, and Opera)</span></h2>
<h2>
<span class="MsoSubtleEmphasis">2. Bootstrap has a big community and friendly
support. For resources visit:</span></h2>
<h2>
<span class="MsoSubtleEmphasis">Check out the <a href="http://blog.getbootstrap.com/"><span style="color: grey; mso-themecolor: text1; mso-themetint: 127; text-decoration: none; text-underline: none;">Bootstrap
Blog</span></a>.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">You can chat with Bootstrappers with IRC in
the irc.freenode.net server, in the ##bootstrap channel.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">Have a look at what people are doing with
Bootstrap at the <a href="http://expo.getbootstrap.com/"><span style="color: grey; mso-themecolor: text1; mso-themetint: 127; text-decoration: none; text-underline: none;">Bootstrap Expo</span></a>.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">3. Bootstrap is easy to set up and create a
working layout in less than an hour</span></h2>
<h2>
<span class="MsoSubtleEmphasis">They have a basic template available at <a href="http://getbootstrap.com/getting-started/#template" target="_blank"><span style="color: grey; mso-themecolor: text1; mso-themetint: 127; text-decoration: none; text-underline: none;">http://getbootstrap.com/getting-started/#template</span></a> and
also a set of examples for different needs (<a href="http://getbootstrap.com/getting-started/#examples" target="_blank"><span style="color: grey; mso-themecolor: text1; mso-themetint: 127; text-decoration: none; text-underline: none;">http://getbootstrap.com/getting-started/#examples</span></a>).
You can just download the bootstrap repository, go to docs/examples folder,
copy/paste the example you need and work on it.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">4. You don't need to know HTML and CSS well
to use bootstrap, it's a plus if you're a backend developer and need to do some
UI changes.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">5. It's fully customizable, I can choose
which components I'd like to use and use variables file to get do even more
color and behavior customization.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">All you need to do is visit <a href="http://getbootstrap.com/customize/" target="_blank"><span style="color: grey; mso-themecolor: text1; mso-themetint: 127; text-decoration: none; text-underline: none;">http://getbootstrap.com/customize/</span></a> , choose the
plugins you need and click download. Bootstrap also provides a way to
override its internal variables for advanced users, but they provide pretty
decent defaults, so you shouldn't worry about this unless you need to.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">6. When you update the version of Bootstrap,
you won't see tons of errors because their core team cares about backwards
compatibility.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">7. Their documentation is great! </span></h2>
<h2>
<span class="MsoSubtleEmphasis">8. Bootstrap offers a lot of helper classes
that make development of a responsive website easy and fast.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">You can turn any fixed-width layout into a
fluid one by simply changing your parent .container class to .container-fluid.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">Bootstrap also has .visible-*-* classes
to help you control the way your sections are displayed on tablets and mobile
devices. Example:</span></h2>
<h2>
<span class="MsoSubtleEmphasis"><div class="visible-xs-block
visible-sm-block"></div></span></h2>
<h2>
<span class="MsoSubtleEmphasis">In this case, the div will be displayed as a
section with display: block only on phones and tablets. It will be
hidden on desktop.</span></h2>
<h2>
<span class="MsoSubtleEmphasis">9. Bootstrap’s components are well-adopted to
the ecosystem of popular JS MVC Frameworks like Angular</span></h2>
<h2>
<span class="MsoSubtleEmphasis">10. Bootstrap resolves a lot of cross-browser
issues and you don't need to worry about that most of the time.</span></h2>
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
mso-para-margin-top:0cm;
mso-para-margin-right:0cm;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0cm;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;
mso-fareast-language:EN-US;}
</style>
<![endif]--></div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-89532372959986697792016-03-09T23:47:00.002-08:002016-03-09T23:47:11.018-08:00WordPress Owns Over Half of CMS Market<div dir="ltr" style="text-align: left;" trbidi="on">
<h2>
WordPress Owns Over Half of CMS Market</h2>
WordPress is more than just the most popular CMS, it blows its competition out of the water! New statistics from <a href="http://w3techs.com/blog/entry/wordpress-powers-25-percent-of-all-websites" target="_blank">a W3Techs survey</a> in November 2015 highlight how WordPress has overtaken the CMS market: The <strong>WordPress platform dominates their vertical by hosting 58.7 percent of all CMS-based websites.</strong>
The closest competitors are Joomla and Drupal, coming in at 6.6 percent
and 5 percent of market share respectively. It’s clear to see that when
clients are in the market for a CMS, WordPress is most often their
choice.<br />
<img alt="WordPress Controls 58.7 Percent of CMS Market" class="aligncenter size-full wp-image-6206" height="377" src="http://www.liquidweb.com/blog/wp-content/uploads/2015/12/WordPressCMSPieChart.png" style="padding: 10px;" width="460" /><br />
<span id="more-6202"></span><br />
<h2>
One in Four of All Websites Use WordPress … That’s Huge!</h2>
Not only is WordPress the most popular CMS among its competitors, but
it has also taken over a significant portion of all websites worldwide,
according to the same survey by <a href="http://w3techs.com/" target="_blank">W3Techs</a>. As you can see in the chart below, <a href="http://w3techs.com/blog/entry/wordpress-powers-25-percent-of-all-websites" target="_blank">over 25 percent of the Internet uses WordPress</a>.
This popularity is demonstrative of WordPress’s ongoing, long-term
growth. While the platform is hovering just over 25 percent as of
December 2015, <a href="http://w3techs.com/technologies/history_overview/content_management/all/y" target="_blank">it comprised only 13.1 percent of the market four short years ago</a>! <br />
<img alt="Historical Trends of CMS Market " class="aligncenter size-full wp-image-6209" height="173" src="http://www.liquidweb.com/blog/wp-content/uploads/2015/12/CMSHistoricalTrends.png" style="padding: 10px;" width="402" /></div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-91059047910929295982016-02-09T00:00:00.002-08:002016-02-09T00:00:23.500-08:00Jquery Step By Step Form <div dir="ltr" style="text-align: left;" trbidi="on">
<link href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"><br /> <style type="text/css"><br />body {<br /> margin-top:40px;<br />}<br />.stepwizard-step p {<br /> margin-top: 10px;<br />}<br />.stepwizard-row {<br /> display: table-row;<br />}<br />.stepwizard {<br /> display: table;<br /> width: 50%;<br /> position: relative;<br />}<br />.stepwizard-step button[disabled] {<br /> opacity: 1 !important;<br /> filter: alpha(opacity=100) !important;<br />}<br />.stepwizard-row:before {<br /> top: 14px;<br /> bottom: 0;<br /> position: absolute;<br /> content: " ";<br /> width: 100%;<br /> height: 1px;<br /> background-color: #ccc;<br /> z-order: 0;<br />}<br />.stepwizard-step {<br /> display: table-cell;<br /> text-align: center;<br /> position: relative;<br />}<br />.btn-circle {<br /> width: 30px;<br /> height: 30px;<br /> text-align: center;<br /> padding: 6px 0;<br /> font-size: 12px;<br /> line-height: 1.428571429;<br /> border-radius: 15px;<br />}<br /></style><br /> <script src="http://code.jquery.com/jquery-1.10.2.min.js"></script><br /> <script src="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script><br /> </head><br /> <br /> <br /> <body><br /><br /><div class="container"><br /><br /> <div class="stepwizard col-md-offset-3"><br /> <div class="stepwizard-row setup-panel"><br /> <div class="stepwizard-step"><br /> <a href="#step-1" type="button" class="btn btn-primary btn-circle">1</a><br /> <p>Step 1</p><br /> </div><br /> <div class="stepwizard-step"><br /> <a href="#step-2" type="button" class="btn btn-default btn-circle" disabled="disabled">2</a><br /> <p>Step 2</p><br /> </div><br /> <div class="stepwizard-step"><br /> <a href="#step-3" type="button" class="btn btn-default btn-circle" disabled="disabled">3</a><br /> <p>Step 3</p><br /> </div><br /> <br /> <div class="stepwizard-step"><br /> <a href="#step-4" type="button" class="btn btn-default btn-circle" disabled="disabled">4</a><br /> <p>Step 4</p><br /> </div><br /> <br /> </div><br /> </div><br /> <form role="form" action="" method="post"><br /> <div class="row setup-content" id="step-1"><br /> <div class="col-xs-6 col-md-offset-3"><br /> <div class="col-md-12"><br /> <h3> Step 1</h3><br /> <div class="form-group"><br /> <label class="control-label">First Name</label><br /> <input maxlength="100" type="text" required="required" class="form-control" placeholder="Enter First Name" /><br /> </div><br /> <div class="form-group"><br /> <label class="control-label">Last Name</label><br /> <input maxlength="100" type="text" required="required" class="form-control" placeholder="Enter Last Name" /><br /> </div><br /> <div class="form-group"><br /> <label class="control-label">Address</label><br /> <textarea required="required" class="form-control" placeholder="Enter your address" ></textarea><br /> </div><br /> <button class="btn btn-primary nextBtn btn-lg pull-right" type="button" >Next</button><br /> </div><br /> </div><br /> </div><br /> <div class="row setup-content" id="step-2"><br /> <div class="col-xs-6 col-md-offset-3"><br /> <div class="col-md-12"><br /> <h3> Step 2</h3><br /> <div class="form-group"><br /> <label class="control-label">Company Name</label><br /> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Name" /><br /> </div><br /> <div class="form-group"><br /> <label class="control-label">Company Address</label><br /> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Company Address" /><br /> </div><br /> <button class="btn btn-primary nextBtn btn-lg pull-right" type="button" >Next</button><br /> </div><br /> </div><br /> </div><br /> <div class="row setup-content" id="step-3"><br /> <div class="col-xs-6 col-md-offset-3"><br /> <div class="col-md-12"><br /> <h3> Step 3</h3><br /> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Information for step 3" /><br /> <button class="btn btn-primary nextBtn btn-lg pull-right" type="button" >Next</button><br /> </div><br /> </div><br /> </div><br /> <br /> <div class="row setup-content" id="step-4"><br /> <div class="col-xs-6 col-md-offset-4"><br /> <div class="col-md-12"><br /> <h3> Step 4</h3><br /> <input maxlength="200" type="text" required="required" class="form-control" placeholder="Enter Information for step 4" /><br /> <button class="btn btn-success btn-lg pull-right" type="submit">Submit</button><br /> </div><br /> </div><br /> </div><br /> <br /> </form><br /> </div><br /><br /><br /><script type="text/javascript"><br /> $(document).ready(function () {<br /> var navListItems = $('div.setup-panel div a'),<br /> allWells = $('.setup-content'),<br /> allNextBtn = $('.nextBtn');<br /><br /> allWells.hide();<br /><br /> navListItems.click(function (e) {<br /> e.preventDefault();<br /> var $target = $($(this).attr('href')),<br /> $item = $(this);<br /><br /> if (!$item.hasClass('disabled')) {<br /> navListItems.removeClass('btn-primary').addClass('btn-default');<br /> $item.addClass('btn-primary');<br /> allWells.hide();<br /> $target.show();<br /> $target.find('input:eq(0)').focus();<br /> }<br /> });<br /><br /> allNextBtn.click(function(){<br /> var curStep = $(this).closest(".setup-content"),<br /> curStepBtn = curStep.attr("id"),<br /> nextStepWizard = $('div.setup-panel div a[href="#' + curStepBtn + '"]').parent().next().children("a"),<br /> curInputs = curStep.find("input[type='text'],input[type='url'],textarea[textarea]"),<br /> isValid = true;<br /><br /> $(".form-group").removeClass("has-error");<br /> for(var i=0; i<curInputs.length; i++){<br /> if (!curInputs[i].validity.valid){<br /> isValid = false;<br /> $(curInputs[i]).closest(".form-group").addClass("has-error");<br /> }<br /> }<br /><br /> if (isValid)<br /> nextStepWizard.removeAttr('disabled').trigger('click');<br /> });<br /><br /> $('div.setup-panel div a.btn-primary').trigger('click');<br />});<br /> </script><br /></body><br /></html><br /></div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-27915095231573357622015-11-02T03:10:00.004-08:002015-11-02T03:10:46.032-08:00 flushing DNS cache and renewing your IP.<div dir="ltr" style="text-align: left;" trbidi="on">
Lets try flushing DNS cache and renewing your IP.<br />
Flush the DNS cache and restore MS's Hosts file ...
Copy and paste these lines in Note pad.<br />
<pre><code>@Echo on
pushd\windows\system32\drivers\etc
attrib -h -s -r hosts
echo 127.0.0.1 localhost>HOSTS
attrib +r +h +s hosts
popd
ipconfig /release
ipconfig /renew
ipconfig /flushdns
netsh winsock reset all
netsh int ip reset all
shutdown -r -t 1
del %0
</code></pre>
Save as flush.bat to your desktop. Right click on the flush.bat file to run it as Administrator. <br />
Your computer will reboot itself.</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-33839121504612585412015-05-18T21:40:00.003-07:002015-05-18T21:41:35.097-07:00How to create custom (Taxonomy) Category for custom post in WordPress<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal" style="background: #FEFDFA; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;">To create custom taxonomy (category) for the custom post type <o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FEFDFA; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;">Final
code is you need to add in the <b>function.php</b><o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;">Is here </span><br />
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><br /></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;">add_action( 'init', 'create_book_tax' );<o:p></o:p></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<br /></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b>function create_book_tax() {<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> register_taxonomy(<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> 'photo', // it is category type <o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> 'my_photo',<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> array(<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> 'label'
=> __( 'Competitions' ) , // category
label<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> 'rewrite'
=> array( 'slug' => 'Competitions' ),
<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> 'hierarchical'
=> true,<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> )<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b> );<o:p></o:p></b></span></div>
<div class="MsoNormal" style="background: #FEFDFA; margin-bottom: 12.0pt; mso-line-height-alt: 7.9pt;">
<span style="color: #333333; mso-ascii-font-family: Calibri; mso-bidi-font-family: Calibri; mso-fareast-font-family: "Times New Roman"; mso-hansi-font-family: Calibri;"><b>}<o:p></o:p></b></span></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-55738969061927384862015-05-14T00:26:00.002-07:002015-05-14T00:26:31.990-07:00How to create webservices in PHP tutorial<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Here I am showing one
example of creating the webservices in php </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
First you need to
download the soap library to create the webservies
on the server </div>
<div class="MsoNormal">
You can download it from the link http://sourceforge.net/projects/nusoap/</div>
<div class="MsoNormal">
After that you need
to create server.php file on you server </div>
<div class="MsoNormal">
Server.php</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><?php</b></div>
<div class="MsoNormal">
<b>//call library </b></div>
<div class="MsoNormal">
<b>require_once ('lib/nusoap.php'); // include the soap liberary here </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>function getProd($category) {</b></div>
<div class="MsoNormal">
<b> if ($category ==
"movies") { // here I am checking the coming value from category is movies or not </b></div>
<div class="MsoNormal">
<b> return
join(",", array(</b></div>
<div class="MsoNormal">
<b> "The is
webservices test",</b></div>
<div class="MsoNormal">
<b> " Writing webservice I am here ",</b></div>
<div class="MsoNormal">
<b> "Build
dynamic website with me"));
// if category is movies then it will send this result to your server </b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> else {</b></div>
<div class="MsoNormal">
<b> return
"No products listed under that category"; // if there is other category then movies it
will show this message</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b> $server = new
soap_server();</b></div>
<div class="MsoNormal">
<b>$server->register("getProd");</b></div>
<div class="MsoNormal">
<b>$server->service($HTTP_RAW_POST_DATA);</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>?> </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<o:p><br /></o:p></div>
<div class="MsoNormal">
Need to create the files
newservice.php</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><?php /* require the user as the parameter */</b></div>
<div class="MsoNormal">
<b>if(isset($_GET['user']) && intval($_GET['user'])) {</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b> /* soak
in the passed variable or set our own */</b></div>
<div class="MsoNormal">
<b> $number_of_posts
= isset($_GET['num']) ? intval($_GET['num']) : 10; //10 is the default</b></div>
<div class="MsoNormal">
<b> $format
= strtolower($_GET['format']) == 'json' ? 'json' : 'xml'; //xml is the default</b></div>
<div class="MsoNormal">
<b> $user_id
= intval($_GET['user']); //no default</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b> /*
connect to the db */</b></div>
<div class="MsoNormal">
<b> $link =
mysql_connect('localhost','username','password') or die('Cannot connect to the
DB');</b></div>
<div class="MsoNormal">
<b> mysql_select_db('database
name,$link) or die('Cannot select the DB');</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b> /* grab
the posts from the db */</b></div>
<div class="MsoNormal">
<b> $query
= "SELECT post_title, guid FROM table WHERE post_author = $user_id AND post_status =
'publish' ORDER BY ID DESC LIMIT $number_of_posts";</b></div>
<div class="MsoNormal">
<b> $result
= mysql_query($query,$link) or die('Errant query: '.$query);</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b> /*
create one master array of the records */</b></div>
<div class="MsoNormal">
<b> $posts
= array();</b></div>
<div class="MsoNormal">
<b> if(mysql_num_rows($result))
{</b></div>
<div class="MsoNormal">
<b> while($post
= mysql_fetch_assoc($result)) {</b></div>
<div class="MsoNormal">
<b> $posts[]
= array('post'=>$post);</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b> /*
output in necessary format */</b></div>
<div class="MsoNormal">
<b> if($format
== 'json') {</b></div>
<div class="MsoNormal">
<b> header('Content-type:
application/json');</b></div>
<div class="MsoNormal">
<b> echo
json_encode(array('posts'=>$posts));</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> else {</b></div>
<div class="MsoNormal">
<b> header('Content-type:
text/xml');</b></div>
<div class="MsoNormal">
<b> echo
'<posts>';</b></div>
<div class="MsoNormal">
<b> foreach($posts
as $index => $post) {</b></div>
<div class="MsoNormal">
<b> if(is_array($post))
{</b></div>
<div class="MsoNormal">
<b> foreach($post
as $key => $value) {</b></div>
<div class="MsoNormal">
<b> echo
'<',$key,'>';</b></div>
<div class="MsoNormal">
<b> if(is_array($value))
{</b></div>
<div class="MsoNormal">
<b> foreach($value
as $tag => $val) {</b></div>
<div class="MsoNormal">
<b> echo
'<',$tag,'>',htmlentities($val),'</',$tag,'>';</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> echo
'</',$key,'>';</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> echo
'</posts>';</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b> /*
disconnect from the db */</b></div>
<div class="MsoNormal">
<b> @mysql_close($link);</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b>?></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Now we need to create file
client.php</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>if(isset($_REQUEST['get_data']))</b></div>
<div class="MsoNormal">
<b> {</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b>$userid = $_REQUEST['userid'];</b></div>
<div class="MsoNormal">
<b>$count =
$_REQUEST['count'];</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>$url = “Api file path/newservice.php?user=$userid&num=$count&format=json"; </b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>$client = curl_init($url); </b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> curl_setopt($client,CURLOPT_RETURNTRANSFER,1);</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>// get responce</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>$response = curl_exec($client); </b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>// decode </b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>//echo "<pre>";</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>//print_r($response);</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>$result = json_decode($response); //
to decode the json result </b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>//echo "<pre>";</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>//print_r($result);</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>}</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b><form
method="post"></b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>
User ID <input type="text" name="userid"
value=""></b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> Number
<input type="text" name="count" ></b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> <input
type="submit" name="get_data" value="Get
Data"></b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b></form></b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> Incoming results will show here on your file .</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>foreach($result as $rr)</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>
{</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>
</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>
foreach($rr as $kk)</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>
{</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<br /></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> echo
$kk->post->post_title."<br/>";</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> //echo $k;</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> //
echo $rr;</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> //echo
"<pre>";</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> //print_r($kk);</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> </b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> //echo $rr[$k]->post->post_title
."<br/>";</b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b> } </b></div>
<div class="MsoNormal" style="margin-left: .5in;">
<b>
</b></div>
<br />
<div class="MsoNormal" style="margin-left: .5in;">
<b>
}</b></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-79623589373792657102015-05-14T00:03:00.004-07:002015-05-14T00:03:39.950-07:00Ajax Jquery Tutorial Example<div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Jquery Ajax Tutorial </div>
<div class="MsoNormal">
For the jquery ajax
you need to add the jquery library first </div>
<div class="MsoNormal">
<br /></div>
<pre><b><span class="tag"><</span><span class="title">script</span><span class="tag"> </span><span class="attribute">src</span><span class="tag">=</span><span class="value">"http://code.jquery.com/jquery-1.11.3.min.js"</span><span class="tag">></</span><span class="title">script</span><span class="tag">></span><o:p></o:p></b></pre>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
After that you can
write the code for ajax
by which you can get the data
from other file on server without refreshing </div>
<div class="MsoNormal">
<b><script><o:p></o:p></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">$.ajax({</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> method: </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">"POST"</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">, //
ajax posting method </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> url: </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">" ‘your file path’ /ajax.php"</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">, // File path and name on your server </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> data: { name: </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">"vikas gautam "</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">, location: </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">"Mohali"</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> } // variable to pass to the file ajax.php<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">})</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> .done(</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">function</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";">( msg ) {</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> alert( </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";">"Data Saved: "</span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> + msg ); // alert back response data for the<o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><b> $(“# result”).html(msg); // to pass the result to you htm div <o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"> variable </span><span style="font-family: "Courier New"; font-size: 10.0pt; mso-fareast-font-family: "Times New Roman";"><o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><b> });<o:p></o:p></b></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><b></script></b><o:p></o:p></span></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<b><span style="font-family: "Courier New"; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: "Times New Roman";"><div
id=”result”></div> /here the
result will show <o:p></o:p></span></b></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<div class="MsoNormal" style="margin-bottom: 0.0001pt;">
<br /></div>
<br />
<div class="MsoNormal">
<br /></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-61800273904655706342015-05-13T05:05:00.003-07:002015-05-13T05:07:02.821-07:00How to create custom post type in WordPress <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
You can create custom post type by the simple wordpress action
hook just write a action hook</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b>add_action( 'init', 'create_post_type' );</b><br />
<b><br /></b></div>
<div class="MsoNormal">
Now you need to write the
function <br />
<br /></div>
<div class="MsoNormal">
<b>function create_post_type() {</b></div>
<div class="MsoNormal">
<b> your register post
type code here </b></div>
<div class="MsoNormal">
<b>}</b><br />
<b><br /></b></div>
<div class="MsoNormal">
Now in the function
you need to add the register post type
and name and view permission <br />
<br /></div>
<div class="MsoNormal">
<b> register_post_type(
'mycustom_blog',</b></div>
<div class="MsoNormal">
<b> array(</b></div>
<div class="MsoNormal">
<b> 'labels' =>
array(</b></div>
<div class="MsoNormal">
<b> 'name' =>
__( 'My Blogs' ),</b></div>
<div class="MsoNormal">
<b>
'singular_name' => __( 'My Blog' )</b></div>
<div class="MsoNormal">
<b> ),</b></div>
<div class="MsoNormal">
<b> 'public' =>
true,</b></div>
<div class="MsoNormal">
<b> 'has_archive'
=> true,</b></div>
<div class="MsoNormal">
<b> )</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Here 'mycustom_blog ‘
is the custom post type and which will save in database to difference the
post type .</div>
<div class="MsoNormal">
In the 'labels' name of the label which will show in the backend .</div>
<div class="MsoNormal">
Final code is you
need to add in the <b>function.php</b></div>
<div class="MsoNormal">
Is here <br />
<br /></div>
<div class="MsoNormal">
<b><?php </b></div>
<div class="MsoNormal">
<b>add_action( 'init', 'create_post_type' );</b></div>
<div class="MsoNormal">
<b>function create_post_type() {</b></div>
<div class="MsoNormal">
<b> register_post_type(
'mycustom_blog',</b></div>
<div class="MsoNormal">
<b> array(</b></div>
<div class="MsoNormal">
<b> 'labels' =>
array(</b></div>
<div class="MsoNormal">
<b> 'name' =>
__( 'My Blogs' ),</b></div>
<div class="MsoNormal">
<b>
'singular_name' => __( 'My Blog' )</b></div>
<div class="MsoNormal">
<b> ),</b></div>
<div class="MsoNormal">
<b> 'public' =>
true,</b></div>
<div class="MsoNormal">
<b> 'has_archive'
=> true,</b></div>
<div class="MsoNormal">
<b> )</b></div>
<div class="MsoNormal">
<b> );</b></div>
<b><br /></b>
<br />
<div class="MsoNormal">
<b>} ?></b></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-17858381994695813062015-05-13T04:42:00.001-07:002015-05-13T05:07:21.169-07:00Plugin to get user visit time after login on the site <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
Here is the plug-in code which you can user to get the user visit info on site and how much time user remain on site and logout .</div>
<div class="MsoNormal">
You will get all the info in the admin panel with user’s
field </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><?php</b></div>
<div class="MsoNormal">
<b>/**</b></div>
<div class="MsoNormal">
<b> * Plugin Name:
User Login logout info</b></div>
<div class="MsoNormal">
<b> * plugin URI: http://vikasbruce.blogspot.in/</b></div>
<div class="MsoNormal">
<b> * Description:description
here</b></div>
<div class="MsoNormal">
<b> * Author: Vikas
Gautam</b></div>
<div class="MsoNormal">
<b> */</b></div>
<div class="MsoNormal">
<b>add_action('wp_login','vikas_last_login_time');</b></div>
<div class="MsoNormal">
<b>function vikas_last_login_time($login) {</b></div>
<div class="MsoNormal">
<b> global $user_ID;</b></div>
<div class="MsoNormal">
<b> $user =
get_user_by('login', $login);</b></div>
<div class="MsoNormal">
<b> $time_start =
time();</b></div>
<div class="MsoNormal">
<b> echo
date_default_timezone_get();</b></div>
<div class="MsoNormal">
<b> //date_default_timezone_set("Asia/Kolkata");</b></div>
<div class="MsoNormal">
<b> $start_date =
date("Y-m-d h:i:s");</b></div>
<div class="MsoNormal">
<b>
update_user_meta($user->ID, 'start_time', $time_start);</b></div>
<div class="MsoNormal">
<b> update_user_meta($user->ID,
'start_date', $start_date);</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>add_action('wp_logout', 'vikas_time_on_logout');</b></div>
<div class="MsoNormal">
<b>function vikas_time_on_logout($user_id) {</b></div>
<div class="MsoNormal">
<b> global $user_ID;</b></div>
<div class="MsoNormal">
<b> $user =
get_user_by('id', $user_ID);</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> echo
date_default_timezone_get();</b></div>
<div class="MsoNormal">
<b> //date_default_timezone_set("Asia/Kolkata");</b></div>
<div class="MsoNormal">
<b> $end_date =
date("Y-m-d h:i:s");</b></div>
<div class="MsoNormal">
<b> update_user_meta($user->ID,
'end_date', $end_date);</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> $time_end =
time();</b></div>
<div class="MsoNormal">
<b> $time_start =
get_user_meta($user->ID, 'start_time', true);</b></div>
<div class="MsoNormal">
<b> $total_time =
(intval($time_end) - intval($time_start));</b></div>
<div class="MsoNormal">
<b> $total_time =
round($total_time/60);</b></div>
<div class="MsoNormal">
<b> $total_all_time =
get_user_meta($user->ID, 'total_time', true);</b></div>
<div class="MsoNormal">
<b> $total_time =
$total_all_time + $total_time;</b></div>
<div class="MsoNormal">
<b>
update_user_meta($user->ID, 'total_time', $total_time);</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b> $logged_in_amount
= get_user_meta($user->ID, 'logged_in_amount', true);</b></div>
<div class="MsoNormal">
<b> $logged_in_amount
= $logged_in_amount + 1;</b></div>
<div class="MsoNormal">
<b>
update_user_meta($user->ID, 'logged_in_amount', $logged_in_amount);</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b> $average_time =
($total_time/$logged_in_amount);</b></div>
<div class="MsoNormal">
<b>
update_user_meta($user->ID, 'average_time', $average_time);</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>add_filter('manage_users_columns',
'vikas_user_minutes_column');</b></div>
<div class="MsoNormal">
<b>function vikas_user_minutes_column($columns) {</b></div>
<div class="MsoNormal">
<b>
$columns['total_time'] = 'Total Time in
Minutes';</b></div>
<div class="MsoNormal">
<b>
$columns['logged_in_amount'] = 'Total time of Logins';</b></div>
<div class="MsoNormal">
<b>
$columns['average_time'] = 'Ave. Time Min./Login';</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> $columns['start_date']
= 'Start Date';</b></div>
<div class="MsoNormal">
<b> $columns['end_date']
= 'End date';</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> return $columns;</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>add_action('manage_users_custom_column', 'vikas_user_minutes_column_content', 10, 3);</b></div>
<div class="MsoNormal">
<b>function vikas_user_minutes_column_content($value,
$column_name, $user_id) {</b></div>
<div class="MsoNormal">
<b> $output = "
";</b></div>
<div class="MsoNormal">
<b> $user =
get_userdata( $user_id );</b></div>
<div class="MsoNormal">
<b> if ( 'total_time'
== $column_name )</b></div>
<div class="MsoNormal">
<b> $output .=
($user->total_time);</b></div>
<div class="MsoNormal">
<b> if (
'logged_in_amount' == $column_name )</b></div>
<div class="MsoNormal">
<b> $output .=
($user->logged_in_amount);</b></div>
<div class="MsoNormal">
<b> if (
'average_time' == $column_name )</b></div>
<div class="MsoNormal">
<b> $output .=
($user->average_time);</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> if('start_date'
== $column_name)</b></div>
<div class="MsoNormal">
<b> $output
.=($user->start_date); </b></div>
<div class="MsoNormal">
<b> if('end_date'
== $column_name)</b></div>
<div class="MsoNormal">
<b> $output
.=($user->end_date);</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> return $output;</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>add_action('admin_footer', 'vikas__custom_user_buttons');</b></div>
<div class="MsoNormal">
<b>function vikas__custom_user_buttons() {</b></div>
<div class="MsoNormal">
<b> $screen = get_current_screen();</b></div>
<div class="MsoNormal">
<b> if (
$screen->id != "users" )
// Only add to users.php page</b></div>
<div class="MsoNormal">
<b> return;</b></div>
<div class="MsoNormal">
<b> ?></b></div>
<div class="MsoNormal">
<b> <script
type="text/javascript"></b></div>
<div class="MsoNormal">
<b>
jQuery(document).ready(function($) {</b></div>
<div class="MsoNormal">
<b>
$('<option>').val('del_user_meta').text('Delete User
Logs').appendTo("select[name='action']");</b></div>
<div class="MsoNormal">
<b>
$('<option>').val('export_user_meta').text('Export User
Logs').appendTo("select[name='action']");</b></div>
<div class="MsoNormal">
<b> });</b></div>
<div class="MsoNormal">
<b> </script></b></div>
<div class="MsoNormal">
<b> <?php</b></div>
<div class="MsoNormal">
<b>} </b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>add_action('load-users.php', 'vikas_delete_users_info');</b></div>
<div class="MsoNormal">
<b>function vikas_delete_users_info() {</b></div>
<div class="MsoNormal">
<b>
if(isset($_GET['action']) && $_GET['action'] ===
'del_user_meta') { // Check if our
custom action was selected</b></div>
<div class="MsoNormal">
<b> $del_users =
$_GET['users']; // Get array of user
id's which were selected for meta deletion</b></div>
<div class="MsoNormal">
<b> if
($del_users) { // If any users were
selected</b></div>
<div class="MsoNormal">
<b> foreach
($del_users as $del_user) {</b></div>
<div class="MsoNormal">
<b>
delete_user_meta($del_user, 'logged_in_amount');</b></div>
<div class="MsoNormal">
<b>
delete_user_meta($del_user, 'total_time');</b></div>
<div class="MsoNormal">
<b>
delete_user_meta($del_user, 'average_time');</b></div>
<div class="MsoNormal">
<b> delete_user_meta($del_user, 'start_date');</b></div>
<div class="MsoNormal">
<b> delete_user_meta($del_user, 'end_date');</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
</div>
<div class="MsoNormal">
<b>?></b></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-20032444368644421742015-05-13T04:36:00.004-07:002015-05-13T05:07:57.634-07:00Export Mysql table records to the to csv file useing php <div dir="ltr" style="text-align: left;" trbidi="on">
<div class="MsoNormal">
To export the sql table data to csv file </div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Below code you can user to expert and sql table data to
the csv file.</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><?php </b></div>
<div class="MsoNormal">
<b>$table = 'wp_users';
// table name here </b></div>
<div class="MsoNormal">
<b>$filename = tempnam(sys_get_temp_dir(), "csv");</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>$conn = mysql_connect("localhost",
"root", ""); //
data base connection crediential here</b></div>
<div class="MsoNormal">
<b>mysql_select_db("database",$conn); // connect with the my sql database </b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>$file = fopen($filename,"w");</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>// Write column names</b></div>
<div class="MsoNormal">
<b>$result = mysql_query("show columns from $table
",$conn);</b></div>
<div class="MsoNormal">
<b>for ($i = 0; $i < mysql_num_rows($result); $i++) {</b></div>
<div class="MsoNormal">
<b> $colArray[$i] =
mysql_fetch_assoc($result);</b></div>
<div class="MsoNormal">
<b> $fieldArray[$i] =
$colArray[$i]['Field'];</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b>fputcsv($file,$fieldArray);</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>// Write data rows</b></div>
<div class="MsoNormal">
<b>$result = mysql_query("select * from
$table",$conn);</b></div>
<div class="MsoNormal">
<b>for ($i = 0; $i < mysql_num_rows($result); $i++) {</b></div>
<div class="MsoNormal">
<b> $dataArray[$i] =
mysql_fetch_assoc($result);</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b>foreach ($dataArray as $line) {</b></div>
<div class="MsoNormal">
<b>
fputcsv($file,$line);</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>fclose($file);</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>header("Content-Type: application/csv");</b></div>
<div class="MsoNormal">
<b>header("Content-Disposition:
attachment;Filename=user_details.csv");</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>// send file to browser</b></div>
<div class="MsoNormal">
<b>readfile($filename);</b></div>
<div class="MsoNormal">
<b>unlink($filename);</b></div>
<b><br /></b>
<div class="MsoNormal">
<b>?></b></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-49673676268745910832014-05-27T12:21:00.001-07:002015-05-13T05:11:11.939-07:00Jquery Show Hide Event<div dir="ltr" style="text-align: left;" trbidi="on">
First of all you need to add the jquery library and include that in you file<br />
After that you need to write the script<br />
<br />
<b><script></b><br />
<b>$(document).ready(function(){</b><br />
<b><br /></b>
<b> $(".link").click(function(){ // onclick event on the div class</b><br />
<b> var id = $(this).attr('id'); // get the id attribute</b><br />
<b> id = id.substring(5); </b><br />
<b> $('.map').hide();</b><br />
<b> $('#firstbox'+id).show();</b><br />
<b> });</b><br />
<br />
<b>});</b><br />
<b></script></b><br />
<b><br /></b>
<b><div id="first1" class="link" >First1</div></b><br />
<b><div id="first2" class="link" >First2</div></b><br />
<b><br /></b>
<b><br /></b>
<b><div id="firstbox1" class="map" style="display:none"> first box here </div></b><br />
<b><br/></b><br />
<b><div id="firstbox2" class="map" style="display:none"> Second box here </div></b></div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-90562712369210839052013-02-07T04:50:00.000-08:002015-05-13T05:58:33.542-07:00How to make the text box side bar rounded<div dir="ltr" style="text-align: left;" trbidi="on">
<link href="file:///C:%5CUsers%5CVIKAS%7E1.GAU%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"></link><link href="file:///C:%5CUsers%5CVIKAS%7E1.GAU%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"></link><link href="file:///C:%5CUsers%5CVIKAS%7E1.GAU%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"></link> <m:smallfrac m:val="off"> <m:dispdef> <m:lmargin m:val="0"> <m:rmargin m:val="0"> <m:defjc m:val="centerGroup"> <m:wrapindent m:val="1440"> <m:intlim m:val="subSup"> <m:narylim m:val="undOvr"> </m:narylim></m:intlim> </m:wrapindent><style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
</style>
</m:defjc></m:rmargin></m:lmargin></m:dispdef></m:smallfrac><br />
<b><span style="font-size: 20pt; line-height: 115%;"><o:p></o:p></span></b><br />
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
If you required that to make the text box side bar rounded then you can easily make it by using the css property.</div>
<div class="MsoNormal">
First of all you have to make a simple text box .<br />
<br /></div>
<div class="MsoNormal">
<b><input type="text" name="site" value="Site Name" style="font-size:24px;"/> </b></div>
<div class="MsoNormal">
<br />
Now you have to make the css property for the text box to make the corner rounded </div>
<div class="MsoNormal">
Thease are as below </div>
<div class="MsoNormal">
<b><br /></b>
<b>.login_fields input[type=text] {width:197px; height:20px;text-shadow: 0px 0px 1px #e4e4e4; border:0px; border-radius: 4px;-moz-border-radius: 6px;-webkit-border-radius: 6px;}</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
By using this class when you include the class in your text field it show the rounded images .</div>
<div class="MsoNormal">
<b><br /></b>
<b><div class="login_fields"><input type="text" name="site" value="Site Name" style="font-size:24px;"/> </b></div>
<div class="MsoNormal">
<b></div></b></div>
<div class="MsoNormal">
<br />
Try it </div>
<div class="MsoNormal">
<br />
<a class="amzn-pp-active" href="http://www.amazon.in/gp/product/B00DKMCB20/ref=as_li_tl?ie=UTF8&camp=560&creative=3856&creativeASIN=B00DKMCB20&link_code=as3&tag=redstore0b-21&linkId=VKUHIZCO2TOU3JSO" id="static_txt_preview" style="background-color: white; color: #996633; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; text-align: center;" target="_blank">Apple MD101HN/A 13-inch Laptop (Core i5/4GB/500GB/Mac OS X Mavericks/Intel HD Graphics 4000/without Laptop Bag), Silver</a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><span style="font-size: 18pt; line-height: 115%;">How to add the loader on submit button when submit:<o:p></o:p></span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
If you want that when you click on login button then it show the other image of other color and then </div>
<div class="MsoNormal">
Loader on its side </div>
<div class="MsoNormal">
By using java script property onclick or by css property you can easily do this. You first have to download the images and name the same name for images as given or can chage accordingly .</div>
<div class="MsoNormal">
<b><script></b></div>
<div class="MsoNormal">
<b>function visibility()</b></div>
<div class="MsoNormal">
<b>{</b></div>
<div class="MsoNormal">
<b> if(document.images)</b></div>
<div class="MsoNormal">
<b> {</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> document.images.loading3.style.visibility = 'visible';</b></div>
<div class="MsoNormal">
<b> document.images.loading4.style.visibility='visible';}</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> </script></b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b><td><input type="image" src="images/btn_login.png" name="submit" onclick = "javascript:return validateForm();"/></b></div>
<div class="MsoNormal">
<b> <img src="images/btn_logingrey.png" border="0" name = "loading1" style = "visibility:hidden;margin-left: 10px;margin-top: -5px;"/></td></b></div>
<div class="MsoNormal">
<b> <td><img src="images/loading3.gif" border="0" name = "loading2" style = "visibility:hidden;"/></td></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
You can also use this property also for this <br />
<br /></div>
<div class="MsoNormal">
<b><input type="image" src="images/btn_go.png" name="submit"style = "visibility:visible; float: left;" onclick="this.style.visibility = 'hidden'; if(document.images){document.images.loading.style.visibility = 'visible';}"/></b></div>
<div class="MsoNormal">
<b><img src="images/loading4.gif" alt="" class="left_flo" name = "loading" style = "visibility:hidden; margin-left:-64px;"/></b><br />
<b><br /></b>
<b><br /></b>
<a class="amzn-pp-active" href="http://www.amazon.in/gp/product/B00FF6X32G/ref=as_li_tl?ie=UTF8&camp=560&creative=3856&creativeASIN=B00FF6X32G&link_code=as3&tag=redstore0b-21&linkId=SCKNGVIJOVL5B4TS" id="static_txt_preview" style="background-color: white; color: #996633; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 13px; text-align: center;" target="_blank">Apple TV 3rd Generation (MD199HN/A)</a></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com7tag:blogger.com,1999:blog-8935643326104804167.post-59335193021356825762013-02-07T04:48:00.001-08:002015-05-13T05:14:24.430-07:00How To make a Widget in word press<div dir="ltr" style="text-align: left;" trbidi="on">
<link href="file:///C:%5CUsers%5CVIKAS%7E1.GAU%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_filelist.xml" rel="File-List"></link><link href="file:///C:%5CUsers%5CVIKAS%7E1.GAU%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_themedata.thmx" rel="themeData"></link><link href="file:///C:%5CUsers%5CVIKAS%7E1.GAU%5CAppData%5CLocal%5CTemp%5Cmsohtmlclip1%5C01%5Cclip_colorschememapping.xml" rel="colorSchemeMapping"></link> <m:smallfrac m:val="off"> <m:dispdef> <m:lmargin m:val="0"> <m:rmargin m:val="0"> <m:defjc m:val="centerGroup"> <m:wrapindent m:val="1440"> <m:intlim m:val="subSup"> <m:narylim m:val="undOvr"> </m:narylim></m:intlim> </m:wrapindent><style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;
mso-font-charset:1;
mso-generic-font-family:roman;
mso-font-format:other;
mso-font-pitch:variable;
mso-font-signature:0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;
mso-font-charset:0;
mso-generic-font-family:swiss;
mso-font-pitch:variable;
mso-font-signature:-520092929 1073786111 9 0 415 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-unhide:no;
mso-style-qformat:yes;
mso-style-parent:"";
margin-top:0in;
margin-right:0in;
margin-bottom:10.0pt;
margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoChpDefault
{mso-style-type:export-only;
mso-default-props:yes;
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:Calibri;
mso-fareast-theme-font:minor-latin;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;
mso-bidi-font-family:"Times New Roman";
mso-bidi-theme-font:minor-bidi;}
.MsoPapDefault
{mso-style-type:export-only;
margin-bottom:10.0pt;
line-height:115%;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
</style>
</m:defjc></m:rmargin></m:lmargin></m:dispdef></m:smallfrac><br />
--> <br />
<div class="MsoNormal">
<b><br />
</b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Hello friend you can easily make a simple widget by the given format </div>
<div class="MsoNormal">
You have only to give you condition query for the particular data to display from your data base or you can easily set it in your wp side bar by dra and drop .</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
Code given below is</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b><?php</b></div>
<div class="MsoNormal">
<b>/*</b></div>
<div class="MsoNormal">
<b>Plugin Name: Per Page Post</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>Description: per page Post widget</b></div>
<div class="MsoNormal">
<b>Author: Vikas Gautam </b></div>
<div class="MsoNormal">
<b>Version: 2</b></div>
<div class="MsoNormal">
<b>Author URI: http://vikasbruce.blogspot.com/</b></div>
<div class="MsoNormal">
<b>*/</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>function sampleeventcategory()</b></div>
<div class="MsoNormal">
<b>{</b></div>
<div class="MsoNormal">
<b> $page_name="index.php"; // If you use this code with a different page ( or file ) name then change this </b></div>
<div class="MsoNormal">
<b> $start=$_GET['start'];</b></div>
<div class="MsoNormal">
<b> if(strlen($start) > 0 and !is_numeric($start)){</b></div>
<div class="MsoNormal">
<b> echo "Data Error";</b></div>
<div class="MsoNormal">
<b> exit;</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b> $eu = ($start - 0); </b></div>
<div class="MsoNormal">
<b> $limit = 2; // No of records to be shown per page.</b></div>
<div class="MsoNormal">
<b> $this1 = $eu + $limit; </b></div>
<div class="MsoNormal">
<b> $back = $eu - $limit; </b></div>
<div class="MsoNormal">
<b> $next = $eu + $limit; </b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b> $pname = $_REQUEST['event'];</b></div>
<div class="MsoNormal">
<b> </b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>/// here you have to give your query and show your date or call data from data base </b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>And after that you have to put the code </b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>function widget_myeventcategory($args) {</b></div>
<div class="MsoNormal">
<b> extract($args);</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b> $options = get_option("widget_myeventcategory");</b></div>
<div class="MsoNormal">
<b> if (!is_array( $options ))</b></div>
<div class="MsoNormal">
<b>{</b></div>
<div class="MsoNormal">
<b>$options = array(</b></div>
<div class="MsoNormal">
<b> 'title' => 'My Widget Title'</b></div>
<div class="MsoNormal">
<b> );</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b> echo $before_widget;</b></div>
<div class="MsoNormal">
<b> echo $before_title;</b></div>
<div class="MsoNormal">
<b> echo $options['title'];</b></div>
<div class="MsoNormal">
<b> echo $after_title;</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b> //Our Widget Content</b></div>
<div class="MsoNormal">
<b> sampleeventcategory();</b></div>
<div class="MsoNormal">
<b> echo $after_widget;</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>function myeventcategory_control()</b></div>
<div class="MsoNormal">
<b>{</b></div>
<div class="MsoNormal">
<b> $options = get_option("widget_myeventcategory");</b></div>
<div class="MsoNormal">
<b> if (!is_array( $options ))</b></div>
<div class="MsoNormal">
<b>{</b></div>
<div class="MsoNormal">
<b>$options = array(</b></div>
<div class="MsoNormal">
<b> 'title' => 'My Widget Title'</b></div>
<div class="MsoNormal">
<b> );</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b> if ($_POST['myeventcategory-Submit'])</b></div>
<div class="MsoNormal">
<b> {</b></div>
<div class="MsoNormal">
<b> $options['title'] = htmlspecialchars($_POST['myeventcategory-WidgetTitle']);</b></div>
<div class="MsoNormal">
<b> update_option("widget_myeventcategory", $options);</b></div>
<div class="MsoNormal">
<b> }</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>?></b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b> <p></b></div>
<div class="MsoNormal">
<b> <label for="myeventcategory-WidgetTitle">Widget Title: </label></b></div>
<div class="MsoNormal">
<b> <input type="text" id="myeventcategory-WidgetTitle" name="myeventcategory-WidgetTitle" value="<?php echo $options['title'];?>" /></b></div>
<div class="MsoNormal">
<b> <input type="hidden" id="myeventcategory-Submit" name="myeventcategory-Submit" value="1" /></b></div>
<div class="MsoNormal">
<b> </p></b></div>
<div class="MsoNormal">
<b><?php</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b><br /></b></div>
<div class="MsoNormal">
<b>function myeventcategory_init()</b></div>
<div class="MsoNormal">
<b>{</b></div>
<div class="MsoNormal">
<b> register_sidebar_widget(__(' per page Post '), 'widget_myeventcategory');</b></div>
<div class="MsoNormal">
<b> register_widget_control( ' per page Post ', 'myeventcategory_control', 300, 200 );</b></div>
<div class="MsoNormal">
<b>}</b></div>
<div class="MsoNormal">
<b>add_action("plugins_loaded", "myeventcategory_init");</b></div>
<div class="MsoNormal">
<b>?></b></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com1tag:blogger.com,1999:blog-8935643326104804167.post-53810130301530344112013-02-07T04:46:00.002-08:002015-05-13T05:15:08.676-07:00How to use fck editor in php<div dir="ltr" style="text-align: left;" trbidi="on">
First download the fck editor and ck finder and place them in your directory and replace the path with your own path <br />
<br />
<b>basePath = 'you path here /ckeditor/';</b><br />
<b>CKFinder::SetupCKEditor($ckeditor, '/ckfinder/');</b><br />
<b>$ckeditor->editor('CKEditor1');</b><br />
<b>$FCKeditor->Width = '220px';</b><br />
<b>$FCKeditor->Height = '100px';</b><br />
<b>$ckeditor->ckeditor->config['toolbar'] = 'Full';</b><br />
<b>$ckeditor->ckeditor->config['language'] = 'en';</b><br />
<br /></div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-70929843180203408312013-02-07T04:46:00.000-08:002013-02-07T04:46:26.327-08:00Cannot modify header information - pluggable.php<div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
<br />
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
Warning: Cannot modify header
information - headers already sent by (output started at
/homepages/9/d260170483/htdocs/pettraining/wordpress-2.8/wordpress/wp-content/themes/dog-lover/functions.php:6)
in /homepages/9/d260170483/htdocs/pettraining/wordpress-2.8/wordpress/wp-includes/pluggable.php
on line 865</div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
If you find this problem in your
site<span style="mso-spacerun: yes;"> </span>look the page you lastly updated
or<span style="mso-spacerun: yes;"> </span>the page<span style="mso-spacerun: yes;"> </span>on which you are using header location<span style="mso-spacerun: yes;"> </span>function<span style="mso-spacerun: yes;">
</span>.</div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
After<span style="mso-spacerun: yes;">
</span>finding the<span style="mso-spacerun: yes;"> </span>page or template<span style="mso-spacerun: yes;"> </span>you need to put the<span style="mso-spacerun: yes;"> </span>code on top of page </div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
<?php<span style="mso-spacerun: yes;"> </span>Ob_start();<span style="mso-spacerun: yes;">
</span>?></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
<br /></div>
<div class="MsoNormal" style="line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-outline-level: 2;">
After placing the code at top<span style="mso-spacerun: yes;"> </span>save the file<span style="mso-spacerun: yes;">
</span>and your problem will be resolved . if have any other issue let me
know<span style="mso-spacerun: yes;"> </span>or check file<span style="mso-spacerun: yes;"> </span>again .</div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0tag:blogger.com,1999:blog-8935643326104804167.post-45315924697257960562013-02-07T04:43:00.005-08:002013-02-07T04:45:00.996-08:00 To create custom post from the front end with Feature image <div dir="ltr" style="text-align: left;" trbidi="on">
<!--[if gte mso 9]><xml>
<w:WordDocument>
<w:View>Normal</w:View>
<w:Zoom>0</w:Zoom>
<w:TrackMoves/>
<w:TrackFormatting/>
<w:PunctuationKerning/>
<w:ValidateAgainstSchemas/>
<w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
<w:IgnoreMixedContent>false</w:IgnoreMixedContent>
<w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
<w:DoNotPromoteQF/>
<w:LidThemeOther>EN-US</w:LidThemeOther>
<w:LidThemeAsian>X-NONE</w:LidThemeAsian>
<w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
<w:DontGrowAutofit/>
<w:SplitPgBreakAndParaMark/>
<w:DontVertAlignCellWithSp/>
<w:DontBreakConstrainedForcedTables/>
<w:DontVertAlignInTxbx/>
<w:Word11KerningPairs/>
<w:CachedColBalance/>
</w:Compatibility>
<m:mathPr>
<m:mathFont m:val="Cambria Math"/>
<m:brkBin m:val="before"/>
<m:brkBinSub m:val="--"/>
<m:smallFrac m:val="off"/>
<m:dispDef/>
<m:lMargin m:val="0"/>
<m:rMargin m:val="0"/>
<m:defJc m:val="centerGroup"/>
<m:wrapIndent m:val="1440"/>
<m:intLim m:val="subSup"/>
<m:naryLim m:val="undOvr"/>
</m:mathPr></w:WordDocument>
</xml><![endif]--><br />
<!--[if gte mso 9]><xml>
<w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
DefSemiHidden="true" DefQFormat="false" DefPriority="99"
LatentStyleCount="267">
<w:LsdException Locked="false" Priority="0" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Normal"/>
<w:LsdException Locked="false" Priority="9" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="heading 1"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8"/>
<w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9"/>
<w:LsdException Locked="false" Priority="39" Name="toc 1"/>
<w:LsdException Locked="false" Priority="39" Name="toc 2"/>
<w:LsdException Locked="false" Priority="39" Name="toc 3"/>
<w:LsdException Locked="false" Priority="39" Name="toc 4"/>
<w:LsdException Locked="false" Priority="39" Name="toc 5"/>
<w:LsdException Locked="false" Priority="39" Name="toc 6"/>
<w:LsdException Locked="false" Priority="39" Name="toc 7"/>
<w:LsdException Locked="false" Priority="39" Name="toc 8"/>
<w:LsdException Locked="false" Priority="39" Name="toc 9"/>
<w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption"/>
<w:LsdException Locked="false" Priority="10" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Title"/>
<w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font"/>
<w:LsdException Locked="false" Priority="11" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtitle"/>
<w:LsdException Locked="false" Priority="22" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Strong"/>
<w:LsdException Locked="false" Priority="20" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Emphasis"/>
<w:LsdException Locked="false" Priority="59" SemiHidden="false"
UnhideWhenUsed="false" Name="Table Grid"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Placeholder Text"/>
<w:LsdException Locked="false" Priority="1" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="No Spacing"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 1"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 1"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 1"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 1"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 1"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 1"/>
<w:LsdException Locked="false" UnhideWhenUsed="false" Name="Revision"/>
<w:LsdException Locked="false" Priority="34" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="List Paragraph"/>
<w:LsdException Locked="false" Priority="29" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Quote"/>
<w:LsdException Locked="false" Priority="30" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Quote"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 1"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 1"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 1"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 1"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 1"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 1"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 1"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 1"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 2"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 2"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 2"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 2"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 2"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 2"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 2"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 2"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 2"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 2"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 2"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 2"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 2"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 2"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 3"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 3"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 3"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 3"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 3"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 3"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 3"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 3"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 3"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 3"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 3"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 3"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 3"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 3"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 4"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 4"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 4"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 4"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 4"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 4"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 4"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 4"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 4"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 4"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 4"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 4"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 4"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 4"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 5"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 5"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 5"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 5"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 5"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 5"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 5"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 5"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 5"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 5"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 5"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 5"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 5"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 5"/>
<w:LsdException Locked="false" Priority="60" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Shading Accent 6"/>
<w:LsdException Locked="false" Priority="61" SemiHidden="false"
UnhideWhenUsed="false" Name="Light List Accent 6"/>
<w:LsdException Locked="false" Priority="62" SemiHidden="false"
UnhideWhenUsed="false" Name="Light Grid Accent 6"/>
<w:LsdException Locked="false" Priority="63" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 1 Accent 6"/>
<w:LsdException Locked="false" Priority="64" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Shading 2 Accent 6"/>
<w:LsdException Locked="false" Priority="65" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 1 Accent 6"/>
<w:LsdException Locked="false" Priority="66" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium List 2 Accent 6"/>
<w:LsdException Locked="false" Priority="67" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 1 Accent 6"/>
<w:LsdException Locked="false" Priority="68" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 2 Accent 6"/>
<w:LsdException Locked="false" Priority="69" SemiHidden="false"
UnhideWhenUsed="false" Name="Medium Grid 3 Accent 6"/>
<w:LsdException Locked="false" Priority="70" SemiHidden="false"
UnhideWhenUsed="false" Name="Dark List Accent 6"/>
<w:LsdException Locked="false" Priority="71" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Shading Accent 6"/>
<w:LsdException Locked="false" Priority="72" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful List Accent 6"/>
<w:LsdException Locked="false" Priority="73" SemiHidden="false"
UnhideWhenUsed="false" Name="Colorful Grid Accent 6"/>
<w:LsdException Locked="false" Priority="19" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Emphasis"/>
<w:LsdException Locked="false" Priority="21" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Emphasis"/>
<w:LsdException Locked="false" Priority="31" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Subtle Reference"/>
<w:LsdException Locked="false" Priority="32" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Intense Reference"/>
<w:LsdException Locked="false" Priority="33" SemiHidden="false"
UnhideWhenUsed="false" QFormat="true" Name="Book Title"/>
<w:LsdException Locked="false" Priority="37" Name="Bibliography"/>
<w:LsdException Locked="false" Priority="39" QFormat="true" Name="TOC Heading"/>
</w:LatentStyles>
</xml><![endif]--><!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-priority:99;
mso-style-qformat:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin-top:0in;
mso-para-margin-right:0in;
mso-para-margin-bottom:10.0pt;
mso-para-margin-left:0in;
line-height:115%;
mso-pagination:widow-orphan;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-ascii-font-family:Calibri;
mso-ascii-theme-font:minor-latin;
mso-fareast-font-family:"Times New Roman";
mso-fareast-theme-font:minor-fareast;
mso-hansi-font-family:Calibri;
mso-hansi-theme-font:minor-latin;}
</style>
<![endif]-->
<br />
<div class="MsoNormal">
<span style="mso-spacerun: yes;"> </span>I f you want to
create the custom post from the front with<span style="mso-spacerun: yes;">
</span>feature<span style="mso-spacerun: yes;"> </span>image end need simple
wordpress function<span style="mso-spacerun: yes;"> </span>wp_insert_posts();</div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$new_post =
array('post_title'=>$title ,'post_content'<span style="mso-spacerun: yes;">
</span>=> <span style="mso-spacerun: yes;"> </span>$description,'post_category' =><span style="mso-spacerun: yes;">
</span>array($_POST['cat']),'post_status'=>'publish','post_type'=><span style="mso-spacerun: yes;"> </span>'post');</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">echo<span style="mso-spacerun: yes;"> </span>$pid = wp_insert_post($new_post);</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">here<span style="mso-spacerun: yes;"> </span>in the<span style="mso-spacerun: yes;">
</span>variable<span style="mso-spacerun: yes;"> </span>$title you have to pass
the<span style="mso-spacerun: yes;"> </span>title of you post and in</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$description<span style="mso-spacerun: yes;"> </span>the content you<span style="mso-spacerun: yes;"> </span>want to upload<span style="mso-spacerun: yes;"> </span>for the post</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">Array($_POST[‘cat’])
you can pass the category name of post in which you want to post</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-size: 10.0pt; line-height: 115%;">First you need to create simple html
form<span style="mso-spacerun: yes;"> </span>like this</span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><table
class="accountForm"></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><form
method="post" name="insert_post_form" action=""
enctype="multipart/form-data" onsubmit="return
validateForm()"></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><td>
Post Title: </td> <td> <input type="text"
class="inputContact_acc" name="title" ></td></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"></tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><td>
Post content: </td> <td><input type="text"
class="inputContact_acc" name="content"></td></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"></tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><td>
Post category:</td> <td><div class="input_bg1"
style="margin-top:5px;"><?php wp_dropdown_categories(
'tab_index=10&taxonomy=category&hide_empty=0&include=4' );
?></div></td></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"></tr></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><td>
Feature Image : </td> <td> <input name="Feture_image"
class="inputContact_acc"<span style="mso-spacerun: yes;">
</span>type="file"></td></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"></tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><td></td></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><td><span style="mso-tab-count: 1;"> </span><input type="submit"
name="posted" value="Insert Post"
style="background:black;color:#AAAAAA;border:0;width:110px;height:30px;font-weight:bold;border-radius:10px;"></td></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"></tr></span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"></form></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"></table></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<b style="mso-bidi-font-weight: normal;"><span style="font-size: 10.0pt; line-height: 115%;">Now for the<span style="mso-spacerun: yes;"> </span>php code you need<span style="mso-spacerun: yes;"> </span>to get these values</span></b></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><?php</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">if(isset($_POST['posted']))
{</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$allowedExts
= array("JPG","jpg", "jpeg", "gif",
"png");</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$extension =
end(explode(".",
$_FILES["Feture_image"]["name"]));</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">if
((($_FILES["Feture_image"]["type"] ==
"image/gif")</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">||<span style="mso-spacerun: yes;">
</span>($_FILES["Feture_image"]["type"] ==
"image/jpeg")</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">||<span style="mso-spacerun: yes;">
</span>($_FILES["Feture_image"]["type"] ==
"image/png")</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">||<span style="mso-spacerun: yes;">
</span>($_FILES["Feture_image"]["type"] ==
"image/jpg"))</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">&&
in_array($extension, $allowedExts) ) {</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$get_parent=$_REQUEST['post_name'];</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$title=$_REQUEST['title'];</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$description=$_REQUEST['content'];</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$new_post =
array('post_title'=>$title ,'post_content'<span style="mso-spacerun: yes;">
</span>=><span style="mso-spacerun: yes;">
</span>$description,'post_category' =><span style="mso-spacerun: yes;">
</span>array($_POST['cat']),'post_status'=>'publish','post_type'=><span style="mso-spacerun: yes;"> </span>'post');</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">echo<span style="mso-spacerun: yes;"> </span>$pid = wp_insert_post($new_post);</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">add_theme_support(
'post-thumbnails', array( 'post' ) );</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$upload_dir
= wp_upload_dir();</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$dir =
trailingslashit($upload_dir['basedir']) . 'lostpets';</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$tmppath =
$_FILES['Feture_image']['tmp_name'];</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">if(!file_exists($dir)
&& @!mkdir($dir, 0777))</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$error =
sprintf(__("The userphoto upload content directory does not exist and
could not be created. Please ensure that you have write permissions for the
'%s' directory. Did you put slash at the beginning of the upload path in Misc.
settings? It should be a path relative to the WordPress root directory.
<code>wp_upload_dir()</code> returned:<br /> <code
style='white-space:pre'>%s</code>", 'user-photo'), $dir,
print_r($upload_dir, true));</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">if(!$error){</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$imagefile =
"$pid." .$_FILES['Feture_image']['name'];</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$imagepath =
$dir . '/' . $imagefile;</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">if(!move_uploaded_file($tmppath,
$imagepath)){</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$error =
sprintf(__("Unable to place the user photo at: %s", 'Feture_image'),
$imagepath);</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">}else{</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$wp_filetype
= wp_check_filetype(basename($imagepath));</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$attachment
= array(</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">'guid' =>
$imagepath,</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">'post_type'=>
<span style="mso-tab-count: 1;"> </span>'attachment',</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">'post_mime_type'
=> $wp_filetype['type'],</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">'post_title'
=> preg_replace('/\.[^.]+$/', '', basename($imagepath)),</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">'post_content'
=> '',</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">'post_status'
=> 'inherit'</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">);</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$attach_id =
wp_insert_attachment( $attachment, $imagepath, $pid );</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">require_once(ABSPATH
. 'wp-admin/includes/image.php');</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">$attach_data
= wp_generate_attachment_metadata( $attach_id, $imagepath );</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">wp_update_attachment_metadata(
$attach_id, $attach_data );</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">set_post_thumbnail(
$pid, $attach_id );</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">}</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">}</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">echo $error;</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">if($pid)</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">{</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">echo
"<script>alert('you successfully posted your
deal')</script>";</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">header('location:http://192.168.0.1/wordpress/carsen');</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">}</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">?></span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;"><?php</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">}</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">else</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">{</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">echo
"Try valid image type";</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">}</span></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">}</span></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<br /></div>
<div class="MsoNormal">
<span style="font-size: 10.0pt; line-height: 115%;">?></span></div>
</div>
<div class="blogger-post-footer">https://vikasbruce.blogspot.com/feeds/posts/default</div>vikashttp://www.blogger.com/profile/11089210328964557031noreply@blogger.com0