<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5036572412183057761</id><updated>2024-10-04T19:00:14.712-07:00</updated><category term="wordpress"/><category term="rss feed"/><category term="custom content"/><category term="widget"/><category term="wordpress plug-in"/><category term="wordpress post ancestors"/><category term="+1 button"/><category term="Facebook"/><category term="Post"/><category term="Quick maintenance mode"/><category term="Share"/><category term="Shortcodes"/><category term="Thumbnail"/><category term="activate programmatically"/><category term="adding custom content"/><category term="adding featured image to wordpress theme"/><category term="facebook share"/><category term="featured image"/><category term="google +1 button"/><category term="google plus"/><category term="htaccess"/><category term="image alignment"/><category term="lock the wordpress theme"/><category term="maintenance mode without plugin"/><category term="offline mode"/><category term="parent page title"/><category term="plug-in activate"/><category term="plug-in deactivate"/><category term="post ancestors"/><category term="problem with image alignment"/><category term="remote page data"/><category term="remote url"/><category term="rss"/><category term="shortcode"/><category term="sidebar text widget"/><category term="sub page title"/><category term="sub pages"/><category term="text widget"/><category term="wordpress feed"/><category term="wordpress login url"/><category term="wordpress plug-in update"/><category term="wordpress theme change"/><category term="wordpress themes"/><category term="worpress parent page"/><category term="xml parse error"/><title type='text'>Wordpress Notes</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-8419320819286301063</id><published>2011-12-02T04:06:00.000-08:00</published><updated>2011-12-04T22:06:18.643-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="remote page data"/><category scheme="http://www.blogger.com/atom/ns#" term="remote url"/><title type='text'>How to retrieve remote page data in wordpress?</title><content type='html'>Wordpress will have an inbuilt function to get data from a remote page which is located  in wp-includes/http.php.&lt;br /&gt;
Here is the syntax of the function:&lt;br /&gt;
&lt;br /&gt;
&lt;?php wp_remote_get( $url, $args ); ?&gt; &lt;br /&gt;
&lt;br /&gt;
$url is the url of the page from which we want to get data.&lt;br /&gt;
&lt;br /&gt;
It returns the array of information which includes headers and content.&lt;br /&gt;
Use the following code where you want to get the page data.&lt;br /&gt;
&lt;br /&gt;
$response = wp_remote_get( &#39;http://foo.com/file.txt&#39; );&lt;br /&gt;
if( is_wp_error( $response ) ) {&lt;br /&gt;
echo &#39;Something went wrong!&#39;;&lt;br /&gt;
} else {&lt;br /&gt;
echo &#39;Response:&#39;;&lt;br /&gt;
print_r( $response );&lt;br /&gt;
echo &#39;&#39;;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The above code will print the array like the below format&lt;br /&gt;
&lt;br /&gt;
Array&lt;br /&gt;
(&lt;br /&gt;
[headers] =&gt; Array&lt;br /&gt;
(&lt;br /&gt;
[date] =&gt; Thu, 30 Sep 2010 15:16:36 GMT&lt;br /&gt;
[server] =&gt; Apache&lt;br /&gt;
[x-powered-by] =&gt; PHP/5.3.3&lt;br /&gt;
[x-server] =&gt; 10.90.6.243&lt;br /&gt;
[expires] =&gt; Thu, 30 Sep 2010 03:16:36 GMT&lt;br /&gt;
[cache-control] =&gt; Array&lt;br /&gt;
(&lt;br /&gt;
[0] =&gt; no-store, no-cache, must-revalidate&lt;br /&gt;
[1] =&gt; post-check=0, pre-check=0&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
[vary] =&gt; Accept-Encoding&lt;br /&gt;
[content-length] =&gt; 1641&lt;br /&gt;
[connection] =&gt; close&lt;br /&gt;
[content-type] =&gt; application/php&lt;br /&gt;
)&lt;br /&gt;
[body] =&gt; &lt;html&gt;This is a website!&lt;/html&gt;&lt;br /&gt;
[response] =&gt; Array&lt;br /&gt;
(&lt;br /&gt;
[code] =&gt; 200&lt;br /&gt;
[message] =&gt; OK&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
[cookies] =&gt; Array&lt;br /&gt;
(&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
)</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/8419320819286301063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/12/how-to-retrieve-remote-page-data-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/8419320819286301063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/8419320819286301063'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/12/how-to-retrieve-remote-page-data-in.html' title='How to retrieve remote page data in wordpress?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-7280316141800958629</id><published>2011-11-02T23:31:00.000-07:00</published><updated>2011-11-02T23:46:23.310-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adding featured image to wordpress theme"/><category scheme="http://www.blogger.com/atom/ns#" term="featured image"/><title type='text'>How to add featured image to wordpress theme?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;In wordpress we can display the images in two ways.&lt;br /&gt;
&lt;br /&gt;
1. in the post content.&lt;br /&gt;
2. as a featured image.&lt;/div&gt;&lt;br&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;Featured image is introduces since worpress 2.9, also known as post thumbnails. There is no rule that every wordpress theme should be with featured images. Using featured image in a theme will give good look and clear presentation of the posts with the image.&lt;br /&gt;
&lt;br /&gt;
Now I will explain &lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/11/how-to-add-featured-image-to-wordpress.html&quot;&gt;adding featured image to wordpress posts&lt;/a&gt; and to the wordpress theme.&lt;br /&gt;
&lt;br /&gt;
First we will check whether the theme supports adding a featured image. For this edit the posts which are published or add a new post. If the theme supports featured images, the new opened window (post or edit screen) will have an option in the sidebar like the below image.&amp;nbsp;&lt;/div&gt;&lt;br&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpwC54k-Wt5vuIiKkGna8y16PBYPc1gaOo4xPZvf_mvc7ePn1EXUzoj-gA7XdlZCodIjMi1HckPZyt4OOdDCm6469MmSo0nyeXjDPF50QTcfJfRmoso_YcaqMSHQY7COZwEahEFhtayj0z/s1600/adding+featured+image+to+wordpress+theme.bmp&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpwC54k-Wt5vuIiKkGna8y16PBYPc1gaOo4xPZvf_mvc7ePn1EXUzoj-gA7XdlZCodIjMi1HckPZyt4OOdDCm6469MmSo0nyeXjDPF50QTcfJfRmoso_YcaqMSHQY7COZwEahEFhtayj0z/s1600/adding+featured+image+to+wordpress+theme.bmp&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;If the option is not available in the sidebar, it means that your theme does not support featured image. &lt;br /&gt;
Now it’s the time to add featured image support to wordpress theme. We can add featured image support to whole wordpress theme or we can add to only posts or to only pages. For this open your theme functions.php and add the following code.&lt;/div&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;To add thumbnail support for all post types, add the following code &lt;/div&gt;&lt;table border=&quot;0&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;&quot;&gt;&lt;tbody&gt;
&lt;tr style=&quot;mso-yfti-firstrow: yes; mso-yfti-irow: 0; mso-yfti-lastrow: yes;&quot;&gt;   &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;if(function_exists(‘add_theme_support’)) {&lt;br /&gt;
add_theme_support(‘post_thumbnails’); &lt;br /&gt;
}&lt;/div&gt;&lt;/td&gt;   &lt;td style=&quot;padding: 0in 0in 0in 0in;&quot;&gt;&lt;br /&gt;
&lt;/td&gt;  &lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;To add thumbnail support for only posts add the following code &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;if(function_exists(‘add_theme_support’))&amp;nbsp; { &lt;br /&gt;
add_theme_support(‘post_thumbnails’,&amp;nbsp;array(&#39;post&#39;)); &lt;br /&gt;
}&lt;/div&gt;&lt;br /&gt;
&lt;br&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;For pages add the following code&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;if(function_exists(‘add_theme_support’)) { &lt;br /&gt;
add_theme_support(‘post_thumbnails’,&amp;nbsp;array(page)); &lt;br /&gt;
}&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;Adding the above code will enable the featured image support. Now open the post or edit screen you should now see your featured image added to the sidebar to indicate you were successful.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;I hope all you know how to add featured image to wordpress posts.&lt;br /&gt;
&lt;br /&gt;
Following the above process will add the featured image support to wordpress theme now we will see how to display the featured image on wordpress theme.&lt;br /&gt;
&lt;br /&gt;
To display the post thumbnails add the following code in the query post loop where you want to display the post thumbnail.&lt;/div&gt;&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;if&amp;nbsp;(has_post_thumbnail())&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;the_post_thumbnail();&lt;br /&gt;
}&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;We have three predefined functions used to check and display the post thumbnail.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: .5in; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;has_post_thumbnail() returns ‘true’ if a thumbnail has been set.&lt;br /&gt;
the_post_thumbnail() echos a string containing the thumbnail &amp;lt;img&amp;gt; tag.&lt;br /&gt;
get_the_post_thumbnail() returns a string containing the thumbnail &amp;lt;img&amp;gt; tag.&lt;/div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;line-height: normal; mso-add-space: auto; mso-list: l0 level1 lfo2; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; mso-text-indent-alt: -.25in; text-indent: -.5in;&quot;&gt;&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;i.&lt;span style=&quot;font: 7pt &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;the_post_thumbnail(),get_the_post_thumbnail()&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&amp;nbsp;will have two optional arguments. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;The first option is the size of the thumbnail.The values for this option are&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;1.Default thumbnail sizes like a string containing the text ‘thumbnail’, ‘medium’ or ‘large’. The values of this ‘thumbnail’, ‘medium’ or ‘large’ will be defined in wordpress media screen under settings in wordpress dashboard(Settings &amp;gt; Media screen).&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp; 2.an array with new width and height dimensions, e.g. array(120, 90).&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto;&quot;&gt;The second one is an associative array containing the src, class, alt and title.&lt;br /&gt;
the_post_thumbnail(array(120,100),array(&#39;src&#39;=&amp;gt;anjali.jpg&#39;,&#39;class&#39;=&amp;gt;&#39;thumbnail&#39;,&#39;alt=&amp;gt;&#39;post thumbnail&#39;,&#39;title&#39;=&amp;gt;&#39;Title&#39;));&lt;br /&gt;
&lt;br /&gt;
Enjoy using the featured image. &lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%;&quot;&gt;  &lt;br style=&quot;mso-special-character: line-break;&quot; /&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Calibri&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 11pt; line-height: 115%;&quot;&gt; &lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/7280316141800958629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/11/how-to-add-featured-image-to-wordpress.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/7280316141800958629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/7280316141800958629'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/11/how-to-add-featured-image-to-wordpress.html' title='How to add featured image to wordpress theme?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpwC54k-Wt5vuIiKkGna8y16PBYPc1gaOo4xPZvf_mvc7ePn1EXUzoj-gA7XdlZCodIjMi1HckPZyt4OOdDCm6469MmSo0nyeXjDPF50QTcfJfRmoso_YcaqMSHQY7COZwEahEFhtayj0z/s72-c/adding+featured+image+to+wordpress+theme.bmp" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-6171188499642566788</id><published>2011-11-02T02:42:00.000-07:00</published><updated>2011-11-02T02:44:50.955-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Shortcodes"/><category scheme="http://www.blogger.com/atom/ns#" term="sidebar text widget"/><category scheme="http://www.blogger.com/atom/ns#" term="text widget"/><category scheme="http://www.blogger.com/atom/ns#" term="widget"/><title type='text'>How to add shortcodes in wordpress sidebar text widget?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_p5_LcZSXGM07gQDR47idrGvYhG52RbPx-Kz6QOETsKIbXTtlvTHOK5f90nIEyOwamDNevc0lxvdXTKBBfBDSXmb0nezHOoaObf_3ohmlioi1L7ZWYL2QJtJ7nQPNiKT81n1rrMj0s6r/s1600/Shortcode+in+text+widget.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_p5_LcZSXGM07gQDR47idrGvYhG52RbPx-Kz6QOETsKIbXTtlvTHOK5f90nIEyOwamDNevc0lxvdXTKBBfBDSXmb0nezHOoaObf_3ohmlioi1L7ZWYL2QJtJ7nQPNiKT81n1rrMj0s6r/s1600/Shortcode+in+text+widget.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;In wordpress we have a nice concept called shortcodes. A &lt;a href=&quot;http://codex.wordpress.org/Shortcode_API&quot; target=&quot;_blank&quot;&gt;shortcode &lt;/a&gt;is WordPress-specific codes that will do the things in an easy way. We have several default shortcodes and a shortcode will be inserted in a post or page file by embedding square braces.&lt;br /&gt;
&lt;br /&gt;
Once I got a requirement to add the shortcode in the sidebar. So I just edited the sidebar.php file and added shortcode in the sidebar. As a developer I know how to add the code in the file so i can do it in that way. This &lt;a href=&quot;http://wordpressnotes.blogspot.com/&quot; target=&quot;_blank&quot;&gt;notes&lt;/a&gt; is for the one who does not know how to embed the code.&amp;nbsp; For this add the following line of code to your theme functions.php file.&lt;br /&gt;
&lt;br /&gt;
add_filter(&#39;widget_text&#39;, &#39;do_shortcode&#39;);&lt;br /&gt;
&lt;br /&gt;
Enjoy using the &lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/11/how-to-add-shortcodes-in-wordpress.html&quot; target=&quot;_blank&quot;&gt;shortcodes&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/6171188499642566788/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/11/how-to-add-shortcodes-in-wordpress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/6171188499642566788'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/6171188499642566788'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/11/how-to-add-shortcodes-in-wordpress.html' title='How to add shortcodes in wordpress sidebar text widget?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhi_p5_LcZSXGM07gQDR47idrGvYhG52RbPx-Kz6QOETsKIbXTtlvTHOK5f90nIEyOwamDNevc0lxvdXTKBBfBDSXmb0nezHOoaObf_3ohmlioi1L7ZWYL2QJtJ7nQPNiKT81n1rrMj0s6r/s72-c/Shortcode+in+text+widget.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-5824097002475450457</id><published>2011-10-31T04:28:00.000-07:00</published><updated>2011-10-31T04:32:35.180-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="maintenance mode without plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="offline mode"/><category scheme="http://www.blogger.com/atom/ns#" term="Quick maintenance mode"/><title type='text'>How to keep a wordpress site in Quick maintenance mode?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
When we are doing some maintenance to our blog at that time we should keep the users not to visit our site. To achieve this we have to keep the blog in &lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/10/how-to-keep-wordpress-site-in-quick.html&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;maintenance mode&lt;/b&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Some cms (content management systems) will have an inbuilt option at admin panel to keep the website(blog) in &lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;maintenance mode&lt;/b&gt; or &lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/10/how-to-keep-wordpress-site-in-quick.html&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;offline mode&lt;/b&gt;&lt;/a&gt;. In wordpress we don’t have the inbuilt option at admin panel to keep the blog in &lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/10/how-to-keep-wordpress-site-in-quick.html&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;maintenance mode&lt;/b&gt;&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
We can achieve this by adding a plugin or by adding the hook to your theme functions.php.&lt;br /&gt;
&lt;br /&gt;
If you want to add the hook copy &amp;amp; paste the following code to your theme functions.php file.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWyaCx9lrNDEgtkase54NRZuo6lbSop70ZTYy-ogePhx9G_ivQ88cQeG8RaPNOS5Eesz0vfVI5AjbWbqYLxmenbk7vkeLBQmeq6628fx20QVy03tHiL-SP5r3x1UpqxCN4PfmoqU9ZwzAO/s1600/wordpress+site+in+Quick+maintenance+mode.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;173&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWyaCx9lrNDEgtkase54NRZuo6lbSop70ZTYy-ogePhx9G_ivQ88cQeG8RaPNOS5Eesz0vfVI5AjbWbqYLxmenbk7vkeLBQmeq6628fx20QVy03tHiL-SP5r3x1UpqxCN4PfmoqU9ZwzAO/s200/wordpress+site+in+Quick+maintenance+mode.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;/div&gt;function wpr_maintenance_mode() {&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; if ( !current_user_can( &#39;edit_themes&#39; ) || !is_user_logged_in() ) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; wp_die(&#39;We are into Maintenance, please come back soon.&#39;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
add_action(&#39;get_header&#39;, &#39;wpr_maintenance_mode&#39;);&lt;br /&gt;
&lt;br /&gt;
The above code will not allow any user(except admin) to visit the site . &lt;br /&gt;
&lt;br /&gt;
When you are done with the maintenance remove the code from the functions.php .otherwise the users will not able to enter into the site.&lt;br /&gt;
&lt;br /&gt;
&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;Enjoy the maintenance.&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/5824097002475450457/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-keep-wordpress-site-in-quick.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/5824097002475450457'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/5824097002475450457'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-keep-wordpress-site-in-quick.html' title='How to keep a wordpress site in Quick maintenance mode?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWyaCx9lrNDEgtkase54NRZuo6lbSop70ZTYy-ogePhx9G_ivQ88cQeG8RaPNOS5Eesz0vfVI5AjbWbqYLxmenbk7vkeLBQmeq6628fx20QVy03tHiL-SP5r3x1UpqxCN4PfmoqU9ZwzAO/s72-c/wordpress+site+in+Quick+maintenance+mode.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-5558809047491698657</id><published>2011-10-24T22:31:00.000-07:00</published><updated>2011-10-31T03:30:29.508-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="custom content"/><category scheme="http://www.blogger.com/atom/ns#" term="rss"/><category scheme="http://www.blogger.com/atom/ns#" term="rss feed"/><title type='text'>How to add custom content to RSS Feed posts in wordpress?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoD4EN_mINO4WHhM2usLZMoQ-X99nWrDFqSNMGhdQRA3ejHFXkpOluV1kd7UGTgH0mfJb_DAnbVp9gYAOI2EFpcGypoEirLZ_ryduUpkqqmEkyWBztP-9LYhgCBOvVJERFSJXcAlxGhKqb/s1600/How+to+add+custom+content+to+RSS+Feed+posts+in+wordpress.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5667298611190865570&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoD4EN_mINO4WHhM2usLZMoQ-X99nWrDFqSNMGhdQRA3ejHFXkpOluV1kd7UGTgH0mfJb_DAnbVp9gYAOI2EFpcGypoEirLZ_ryduUpkqqmEkyWBztP-9LYhgCBOvVJERFSJXcAlxGhKqb/s320/How+to+add+custom+content+to+RSS+Feed+posts+in+wordpress.jpg&quot; style=&quot;cursor: hand; cursor: pointer; float: right; height: 274px; margin: 0 0 10px 10px; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
In the previous posts I shared &lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/10/how-to-add-custom-content-to-each-post.html&quot;&gt;how to add custom content to wordpress posts&lt;/a&gt;. Now I will share you how to add custom content to RSS feeds. &lt;br /&gt;
RSS (Rich Site Summary) is a format for delivering regularly changing web content. Now a day the sites using RSS feeds are increasing rapidly. Any end user may subscribe to the site RSS feeds .The users who subscribed will get all the latest updates, the user will directly go to the RSS feed our website and see the posts. Like this we may increase the number of users but the subscribed user even won’t come back to our website.&lt;br /&gt;
&lt;br /&gt;
To make our subscribers to visit our home page frequently here is the solution. Add the site home link to all your RSS feeds. To achieve this add the following code to your theme functions.php file.&lt;br /&gt;
&lt;br /&gt;
function addToRSS($content) { return $content.&#39;Remember to stop by at &lt;a href=&quot;http://www.indianrecipe4u.com/&quot;&gt;Indian Recipes &lt;/a&gt;&#39;; }  &lt;br /&gt;
add_filter(&#39;the_excerpt_rss&#39;, &#39;addToRSS&#39;);&lt;br /&gt;
add_filter(&#39;the_content_rss&#39;, &#39;addToRSS&#39;);&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/5558809047491698657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-add-custom-content-to-rss-feed.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/5558809047491698657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/5558809047491698657'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-add-custom-content-to-rss-feed.html' title='How to add custom content to RSS Feed posts in wordpress?'/><author><name>anju</name><uri>http://www.blogger.com/profile/01226846999948439004</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjoD4EN_mINO4WHhM2usLZMoQ-X99nWrDFqSNMGhdQRA3ejHFXkpOluV1kd7UGTgH0mfJb_DAnbVp9gYAOI2EFpcGypoEirLZ_ryduUpkqqmEkyWBztP-9LYhgCBOvVJERFSJXcAlxGhKqb/s72-c/How+to+add+custom+content+to+RSS+Feed+posts+in+wordpress.jpg" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-2499800078010555204</id><published>2011-10-19T04:48:00.000-07:00</published><updated>2011-10-19T04:58:03.668-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="parent page title"/><category scheme="http://www.blogger.com/atom/ns#" term="sub page title"/><category scheme="http://www.blogger.com/atom/ns#" term="sub pages"/><category scheme="http://www.blogger.com/atom/ns#" term="worpress parent page"/><title type='text'>How to display parent page title in sub pages?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;WordPress will have an option to create sub page for a page. We may have any number of sub pages for a parent page .Suppose if we created pages in this way like parent and child relation and if we want to display the parent page in all the sub pages just follow these steps.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; wp_title(&#39;&#39;);&amp;nbsp; function is used to display the title of current page.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;&amp;lt;?php&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ1PCoIFEQt02xzCh8R0PjaegJkpDcgq9yJsjPuJ8Cg9LbBQ0sICc9TgatjuYfgF712vNA9aB8Ovy5oxGyExvLfSRnCvX6gWfzfwbzaLmdyhu8NryfA2-Tg0uemxb6rASbXh2vWZ6mkTRc/s1600/Wordpress+parent+page+title.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;75&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ1PCoIFEQt02xzCh8R0PjaegJkpDcgq9yJsjPuJ8Cg9LbBQ0sICc9TgatjuYfgF712vNA9aB8Ovy5oxGyExvLfSRnCvX6gWfzfwbzaLmdyhu8NryfA2-Tg0uemxb6rASbXh2vWZ6mkTRc/s200/Wordpress+parent+page+title.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;if($post-&amp;gt;post_parent)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;{&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;$pagetitle=get_the_title($post-&amp;gt;post_parent);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;echo $pagetitle;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;Place the above code where you want to display the title of the parent page. In the above code first it will check that the page has a parent page or not. If it is true then it will display the title of the page.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;The above code will be very easy for the WordPress advanced developers. I am working on WordPress from so many days but I did observe this $post-&amp;gt;post_parent. There may be someone like me that’s why I am sharing this.&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;Hope it is useful.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/2499800078010555204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-display-parent-page-title-in-sub.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2499800078010555204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2499800078010555204'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-display-parent-page-title-in-sub.html' title='How to display parent page title in sub pages?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZ1PCoIFEQt02xzCh8R0PjaegJkpDcgq9yJsjPuJ8Cg9LbBQ0sICc9TgatjuYfgF712vNA9aB8Ovy5oxGyExvLfSRnCvX6gWfzfwbzaLmdyhu8NryfA2-Tg0uemxb6rASbXh2vWZ6mkTRc/s72-c/Wordpress+parent+page+title.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-6001498615247524981</id><published>2011-10-12T02:41:00.000-07:00</published><updated>2011-10-12T08:52:07.377-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Facebook"/><category scheme="http://www.blogger.com/atom/ns#" term="facebook share"/><category scheme="http://www.blogger.com/atom/ns#" term="Post"/><category scheme="http://www.blogger.com/atom/ns#" term="Share"/><category scheme="http://www.blogger.com/atom/ns#" term="Thumbnail"/><title type='text'>How to set post thumbnail as image for facebook share?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;When we write or read any article and if we found that it as useful then we will share it to our friends or any known persons. We will make this is to spread that useful information to all. For this we have social bookmarking sites like facebook, twitter, and digg and delicious etc.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Facebook is the popular social bookmarking site; it will have two options for Share the data. One is facebook like button to like any post and another one is facebook share button. Facebook share button works same like facebook like button. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Facebook has some set of open graph Meta tags, which are to decide which image to show.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;lt;meta property=&quot;og:image&quot; content=&quot;http://ruchimayam.blogspot.com/palapuri.jpg&quot;/&amp;gt; is the open graph &amp;nbsp;meta tag to find the image for facebook share. This should be present in the header before &amp;lt;/head&amp;gt;.When we want share any article it will check for above tag , if it is not present then it will check for the older method of specifying an image &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;lt;link rel=&quot;image_src&quot; href=&quot;http://ruchimayam.blogspot.com/palapuri.jpg &quot;/&amp;gt;.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;If neither is present then it will read the whole page and gives the all available types of images like jpeg, png, gif on that page and it will ask us to select any thumbnail image before posting the link to profile.&amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://ruchimayam.blogspot.com/&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;207&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzfgzK4Guag7G4qeYJVJImQb7pEJaEDUykrpZE2ZPYetepbk2VI3l3ERMM6Rh1k_hPLs4AuTn7naNp5Uy2UFqd6u8GPwzTuedW9H6Nd6vPvFIwDcieWgzKj5Zv2LJimR-fo2sIFHsotLMO/s400/facebookshare.bmp&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;To avoid the selection of images from the content and to define a particular image as thumbnail, place the following code in the header file.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&amp;lt;link rel=&quot;image_src&quot; href=&quot;http://ruchimayam.blogspot.com/logo.jpg &quot;/&amp;gt; &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Replace the image url with your logo url and it will display the same default image for all the posts you share.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;For Wordpress Sites&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;b style=&quot;mso-bidi-font-weight: normal;&quot;&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;The above code will work if you want to use same custom image for all the posts, but if you want to use related image for individual post or page use the following code.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Copy and paste the following code in the functions.php of your theme to define the post thumbnail as thumbnail for facebook share.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;add_action( &#39;wp_head&#39;, &#39;fb_thumbnails&#39; );&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Function fb _thumbnails ()&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;{&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;global $posts;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;$ thumb = &#39;http://indianrecipe4u.com/wp-content/themes/twentyten/images/logo.png&#39;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;$content = $posts[0]-&amp;gt;post_content; // $posts is an array, fetch the first element&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;$output = preg_match_all( &#39;/&amp;lt;img.+src=[\&#39;&quot;]([^\&#39;&quot;]+)[\&#39;&quot;].*&amp;gt;/i&#39;, $content, $matches);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;if ( $output &amp;gt; 0 )&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;$thumb = $matches[1][0];&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;else&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;echo &quot; &amp;lt;link rel=\&quot;image_src\&quot; href=\&quot;$thumb\&quot; /&amp;gt; &quot;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Replace the $ thumb variable url with the one which you want to specify as default image if there is no image in the post content.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Sometimes after placing the code also the results will not display properly, because Facebook crawler&amp;nbsp; will access your page and cache the meta information .Facebook will scrape the page for every 24 hours. To force facebook server to clear the cache immediately use &lt;a href=&quot;https://developers.facebook.com/tools/debug&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;Facebook Url Debugger /Facebook &amp;nbsp;Linter Tool&lt;/span&gt;&lt;/a&gt;&amp;nbsp;.&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/6001498615247524981/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-set-post-thumbnail-as-image-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/6001498615247524981'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/6001498615247524981'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-set-post-thumbnail-as-image-for.html' title='How to set post thumbnail as image for facebook share?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhzfgzK4Guag7G4qeYJVJImQb7pEJaEDUykrpZE2ZPYetepbk2VI3l3ERMM6Rh1k_hPLs4AuTn7naNp5Uy2UFqd6u8GPwzTuedW9H6Nd6vPvFIwDcieWgzKj5Zv2LJimR-fo2sIFHsotLMO/s72-c/facebookshare.bmp" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-4444630822771191518</id><published>2011-10-07T05:36:00.000-07:00</published><updated>2011-10-11T04:38:03.362-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="lock the wordpress theme"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress theme change"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress themes"/><title type='text'>How to disable wordpress theme change?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;If we are developing any website, we will try different layouts to check which one is suitable for the website. Like this I tried many themes for one of my client website and finalized one layout among all of them and customized it according to my client requirements.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;At the time of theme customization we will place the widgets at different locations where have the chance to place the widgets like sidebar and footer and header. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;If we switch from the current theme to any another theme and come back, then the widgets which we placed in our current theme will be lost and again we have to place the widgets.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;I faced this problem for one of my client website and then I decided to restrict switch the theme.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;For that I added the following code and it works well for me and solved my problem&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJmBIjTWF5ESqRAm1ZyDoRoOzKQvP8E7RwHcblzJCUzp8oB6PxLbEMMTR1gFTF66eGTYACMQX4DqxCnkDo0o2iKpPAExwfa7lamOZuol7mGKwEfYmn9InuO9UTJyISe8C9lHP9v9jZH6n5/s1600/How+to+disable+wordpress+theme+change.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJmBIjTWF5ESqRAm1ZyDoRoOzKQvP8E7RwHcblzJCUzp8oB6PxLbEMMTR1gFTF66eGTYACMQX4DqxCnkDo0o2iKpPAExwfa7lamOZuol7mGKwEfYmn9InuO9UTJyISe8C9lHP9v9jZH6n5/s1600/How+to+disable+wordpress+theme+change.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;add_action(&#39;admin_init&#39;, lock_theme&#39;); &lt;br /&gt;
function &amp;nbsp;lock_theme() {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; global $submenu, $userdata;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; get_currentuserinfo();&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if ($userdata-&amp;gt;ID != 1) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unset($submenu[&#39;themes.php&#39;][5]);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; unset($submenu[&#39;themes.php&#39;][15]);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Hope this will be useful.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/4444630822771191518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-disable-wordpress-theme-change.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/4444630822771191518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/4444630822771191518'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-disable-wordpress-theme-change.html' title='How to disable wordpress theme change?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJmBIjTWF5ESqRAm1ZyDoRoOzKQvP8E7RwHcblzJCUzp8oB6PxLbEMMTR1gFTF66eGTYACMQX4DqxCnkDo0o2iKpPAExwfa7lamOZuol7mGKwEfYmn9InuO9UTJyISe8C9lHP9v9jZH6n5/s72-c/How+to+disable+wordpress+theme+change.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-2424812907942765177</id><published>2011-10-03T01:35:00.000-07:00</published><updated>2011-10-03T01:37:41.559-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="adding custom content"/><category scheme="http://www.blogger.com/atom/ns#" term="custom content"/><category scheme="http://www.blogger.com/atom/ns#" term="rss feed"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress post ancestors"/><title type='text'>How to add custom content to each post automatically?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/10/how-to-add-custom-content-to-each-post.html&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRL56JCWClm3W7cmqXDqCly0EmxKVaiVYKF5Q_4UbETFp40E7ybY17H3KwdcOnWCv1141RSd-gl2fZ9O-HB70uzCiZeKRnPNGaq6y1iE_gh0QTJ_TNRfaU6JMPM_cMI4xz9xmJCYruinLW/s1600/custom+content.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
Many bloggers will have a habit to write custom content after each post. Like&amp;nbsp;“We welcome your suggestions on this blog “&amp;nbsp;Or something like ask readers to subscribe their RSS feed&amp;nbsp;“If you like this post subscribe to our rss feed”.&lt;br /&gt;
&lt;br /&gt;
We can hard code this content after the post content or we can add it every time when we write a new post. Adding this content every time, when we write a new article is not the right choice. &lt;br /&gt;
&lt;br /&gt;
To automate this one add the following code to your theme functions.php i.e &lt;br /&gt;
&lt;br /&gt;
function addFootNote($content) { &lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic2hCcMNHvqgUem9Bo1v5KNXWLjm7C2Tt7vIgfgn-6TGDmzaxIETeJ75usz__LwZBIncnxBq6s3HKevLUidwDkD26iv5LKvAgSGi8_gnTcbXnxDuzXNT_gfpK4pTk5dAX_EGw5yhxzAnPA/s1600/How+to+add+custom+content+to+each+post+automatically.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEic2hCcMNHvqgUem9Bo1v5KNXWLjm7C2Tt7vIgfgn-6TGDmzaxIETeJ75usz__LwZBIncnxBq6s3HKevLUidwDkD26iv5LKvAgSGi8_gnTcbXnxDuzXNT_gfpK4pTk5dAX_EGw5yhxzAnPA/s1600/How+to+add+custom+content+to+each+post+automatically.png&quot; /&gt;&lt;/a&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(is_feed() || is_single()) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $content.= &quot;&amp;lt;div class=&#39;subscribes&#39;&amp;gt;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $content.= &quot;&amp;lt;h4&amp;gt;like this article?&amp;lt;/h4&amp;gt;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $content.= &quot;&amp;lt;p&amp;gt;Subscribe to our&amp;nbsp; &amp;lt;a href=&#39;http://feeds2.feedburner.com/wordpressnotes&amp;gt;RSS feed&amp;lt;/a&amp;gt; &amp;lt;/p&amp;gt;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $content.= &quot;&amp;lt;/div&amp;gt;&quot;;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return $content;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/2424812907942765177/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-add-custom-content-to-each-post.html#comment-form' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2424812907942765177'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2424812907942765177'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/10/how-to-add-custom-content-to-each-post.html' title='How to add custom content to each post automatically?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRL56JCWClm3W7cmqXDqCly0EmxKVaiVYKF5Q_4UbETFp40E7ybY17H3KwdcOnWCv1141RSd-gl2fZ9O-HB70uzCiZeKRnPNGaq6y1iE_gh0QTJ_TNRfaU6JMPM_cMI4xz9xmJCYruinLW/s72-c/custom+content.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-4546680908565413156</id><published>2011-09-30T01:42:00.000-07:00</published><updated>2011-09-30T01:43:23.900-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="wordpress plug-in"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress plug-in update"/><title type='text'>How to prevent update checks for installed plug-ins in wordpress?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em; text-align: right;&quot;&gt;&lt;a href=&quot;http://wordpressnotes.blogspot.com/2011/09/how-to-prevent-update-checks-for.html&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2CdLd4_49FtsOKoUolCM1Iw_svf4Fro2KPlfBZZyic0AQvlX3T8RVXqThpJvxmDbASkSgB-5USv6gTN9_BBdDexL79SzD36Lbbzg74it5wSiAUA55iB2fL638ugSQOyOXCncmmDPCG9aB/s1600/How+to+prevent+update+checks+for+installed+plug-ins+in+wordpress.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
Plug-in is the one which is used to add some additional functionality to the blog. We have many free plug-in in the repository to extend the functionality. &lt;br /&gt;
&lt;br /&gt;
If we get any plug-in, for our requirement we can use it directly or else we will customize the plug-in according to our requirements.&lt;br /&gt;
&lt;br /&gt;
Each time the wordpress will check for the updates in the repository by using the function wp_update_plugins( ) in wp_includes/update.php. If there is any new version available we will get a notification at wordpress plugin dashboard.&lt;br /&gt;
&lt;br /&gt;
If anyone clicks on update the plug-in will be updated to latest version, then the changes what we done will be lost and again we have to update the customizations. There is no hook to avoid this problem.&lt;br /&gt;
&lt;br /&gt;
I faced this problem for one of my website. Each time, when the notification comes for the plug-in my client will update it.&lt;br /&gt;
&lt;br /&gt;
To avoid this problem I added the following code to the plug-in for which I want to exclude from update check.&lt;br /&gt;
&lt;br /&gt;
add_filter( &#39;http_request_args&#39;, &#39;prevent_update_check&#39;, 10, 2 );&lt;br /&gt;
function &amp;nbsp;prevent_update_check( $r, $url ) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if ( 0 === strpos( $url, &#39;&lt;a href=&quot;http://api.wordpress.org/plugins/update-check/&quot;&gt;&lt;span style=&quot;color: windowtext; text-decoration: none;&quot;&gt;http://api.wordpress.org/plugins/update-check/&lt;/span&gt;&lt;/a&gt;&#39; ) ) {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$my_plugin = plugin_basename( __FILE__ );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$plugins = unserialize( $r[&#39;body&#39;][&#39;plugins&#39;] );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;unset( $plugins-&amp;gt;plugins[$my_plugin] );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;unset( $plugins-&amp;gt;active[array_search( $my_plugin, $plugins-&amp;gt;active )] );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$r[&#39;body&#39;][&#39;plugins&#39;] = serialize( $plugins );&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;return $r;&lt;br /&gt;
}&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/4546680908565413156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-prevent-update-checks-for.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/4546680908565413156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/4546680908565413156'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-prevent-update-checks-for.html' title='How to prevent update checks for installed plug-ins in wordpress?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh2CdLd4_49FtsOKoUolCM1Iw_svf4Fro2KPlfBZZyic0AQvlX3T8RVXqThpJvxmDbASkSgB-5USv6gTN9_BBdDexL79SzD36Lbbzg74it5wSiAUA55iB2fL638ugSQOyOXCncmmDPCG9aB/s72-c/How+to+prevent+update+checks+for+installed+plug-ins+in+wordpress.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-1701743289713414007</id><published>2011-09-27T05:04:00.000-07:00</published><updated>2011-09-27T05:04:55.787-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="rss feed"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress feed"/><category scheme="http://www.blogger.com/atom/ns#" term="xml parse error"/><title type='text'>How to avoid the “XML Parsing Error: XML or text declaration not at start of entity” in wordpress feed?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
Web feed or news feed is a format which is to represent the updated data for the users or subscribers. Wordpress has in built functionality for the generation of rss feeds for website. &lt;br /&gt;
&lt;br /&gt;
Sometimes while accessing the rss feed it will throw a parsing error i.e&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;XML Parsing Error: XML or text declaration not at start of entity.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
This error will cause if there is a blank space in the theme files or in the core files of wordpress.&lt;br /&gt;
To avoid this error remove the blank spaces before or after the &amp;lt;?php ?&amp;gt; tags&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;or add the following code.&lt;br /&gt;
&lt;br /&gt;
We have different plug-ins to check the spaces in the files and to remove ,but the best solution is to add the following code. I resolved the problem is like this only. Adding a piece of code is better than using one more plugin for a website.Its better to use very less plug-ins for a website.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHlPOq6aot45cNJDNycxfyCm4_hbRiDDpkoxwstFkB0tYHFuepPgbSqUcvZX62MgJpSAIdWgjFcSq4_6CPXlZULpyj3wrPwlgTpj_i5HsdWuHDq2niYMvcBt0MRyUTP_F26JWe9UhoeeuY/s1600/XML+Parsing+Error++XML+or+text+declaration+not+at+start+of+entity.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHlPOq6aot45cNJDNycxfyCm4_hbRiDDpkoxwstFkB0tYHFuepPgbSqUcvZX62MgJpSAIdWgjFcSq4_6CPXlZULpyj3wrPwlgTpj_i5HsdWuHDq2niYMvcBt0MRyUTP_F26JWe9UhoeeuY/s1600/XML+Parsing+Error++XML+or+text+declaration+not+at+start+of+entity.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;$out = ob_get_contents(); &amp;nbsp;&lt;br /&gt;
$out = str_replace(array(&quot;\n&quot;, &quot;\r&quot;, &quot;\t&quot;, &quot; &quot;), &quot;&quot;, $input);&lt;br /&gt;
ob_end_clean();&lt;br /&gt;
&lt;br /&gt;
Add this code in the following files ,located root directory of your&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;wordpress site.&lt;br /&gt;
&lt;br /&gt;
feed-atom.php&lt;br /&gt;
feed-atom-comments.php&lt;br /&gt;
feed-rdf.php&lt;br /&gt;
feed-rss.php&lt;br /&gt;
feed-rss2.php&lt;br /&gt;
feed-rss2-comments.php&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/1701743289713414007/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-avoid-xml-parsing-error-xml-or.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/1701743289713414007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/1701743289713414007'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-avoid-xml-parsing-error-xml-or.html' title='How to avoid the “XML Parsing Error: XML or text declaration not at start of entity” in wordpress feed?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjHlPOq6aot45cNJDNycxfyCm4_hbRiDDpkoxwstFkB0tYHFuepPgbSqUcvZX62MgJpSAIdWgjFcSq4_6CPXlZULpyj3wrPwlgTpj_i5HsdWuHDq2niYMvcBt0MRyUTP_F26JWe9UhoeeuY/s72-c/XML+Parsing+Error++XML+or+text+declaration+not+at+start+of+entity.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-7121970213960765147</id><published>2011-09-15T05:32:00.000-07:00</published><updated>2011-09-15T05:32:45.935-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="post ancestors"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress post ancestors"/><title type='text'>How to get post ancestors of a post?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu7REFUcSHoDwYMnAEaL398_LrfZVJEJIFCv4fzmQRAN3W__gUXf2JVukIYWpjuyfJ4cVcbGtfreMt4sV5BR-4qOjiCOEZEvk5Z8kUbqDXoNwRVwQC1lzr1WU6ho6VMzuZ6AGgZU8iH7rj/s1600/wordpress-post-ancestors.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu7REFUcSHoDwYMnAEaL398_LrfZVJEJIFCv4fzmQRAN3W__gUXf2JVukIYWpjuyfJ4cVcbGtfreMt4sV5BR-4qOjiCOEZEvk5Z8kUbqDXoNwRVwQC1lzr1WU6ho6VMzuZ6AGgZU8iH7rj/s200/wordpress-post-ancestors.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;In wordpress we have an option to assign a post as a child to another post. In order to get the ancestors of a post wordpress have an inbuilt function i.e.&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-style: italic; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;get_post_ancestors( ).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-style: italic; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-style: italic; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;This function will have one argument that can be either post id or post object and it returns the ancestor’s ids as an array.&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-style: italic; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-bidi-font-style: italic; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;$ancestors=get_post_ancestors($post_id);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/7121970213960765147/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-get-post-ancestors-of-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/7121970213960765147'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/7121970213960765147'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-get-post-ancestors-of-post.html' title='How to get post ancestors of a post?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu7REFUcSHoDwYMnAEaL398_LrfZVJEJIFCv4fzmQRAN3W__gUXf2JVukIYWpjuyfJ4cVcbGtfreMt4sV5BR-4qOjiCOEZEvk5Z8kUbqDXoNwRVwQC1lzr1WU6ho6VMzuZ6AGgZU8iH7rj/s72-c/wordpress-post-ancestors.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-428280211046608396</id><published>2011-09-13T02:26:00.000-07:00</published><updated>2011-09-13T02:26:48.309-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="activate programmatically"/><category scheme="http://www.blogger.com/atom/ns#" term="plug-in activate"/><category scheme="http://www.blogger.com/atom/ns#" term="plug-in deactivate"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress plug-in"/><title type='text'>How to Activate or Deactivate wordpress plug-in programmatically?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;Recently I had a problem with wordpress plug-in display at the dashboard. I searched on the web but did not find a proper solution. At that time I got a requirement to install one plug-in, I uploaded the plug-in from ftp and the uploaded plug-in is not displayed in the dashboard to activate.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;For this I tried the following hook and done the activation of the plug-in.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;function activate_plugin() { &amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYp_XPGquYi-4kr_LtJvJTaCg7jjFSJWgleG_Kv28OQECtcJ63BYFp2TpGyoPWgpUvV1bkPoEvnoa9_zYIqTOorEi-koZdd2NFXBVDH5t6meH1VDhGJKcRpxfLlznjrp-iHUXNKYKTROpQ/s1600/wordpress-plugin.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; float: right; margin-bottom: 1em; margin-left: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;78&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYp_XPGquYi-4kr_LtJvJTaCg7jjFSJWgleG_Kv28OQECtcJ63BYFp2TpGyoPWgpUvV1bkPoEvnoa9_zYIqTOorEi-koZdd2NFXBVDH5t6meH1VDhGJKcRpxfLlznjrp-iHUXNKYKTROpQ/s200/wordpress-plugin.jpg&quot; width=&quot;200&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;// Absolute path to your specific plugin&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;$my_plugin = WP_PLUGIN_DIR.&#39;/wp-email/wp-email.php&#39;;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;// Here wp-email is the plug-in which i want to activate. Replace it with the plug-in which you want to activate.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// Check to see if plugin is already active&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;if(is_plugin_active($my_plugin)) {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// Deactivate plugin&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;// Note that deactivate_plugins() will also take an&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// array of plugin paths as a parameter instead of&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// just a single string.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;deactivate_plugins($my_plugin);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;else {&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;// Activate plugin&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;activate_plugin($my_plugin);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;}&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;toggle_plugin();&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Add the above code to the functions.php of your current theme .Once the activation is done comment the code, because we are activating the plug-in if It is in deactivated state and we are deactivating the plug-in if it is active state. So if we did not remove the code the plug-in will be deactivated again.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;If you don’t need to deactivation functionality just comment the following line and no need of commenting the whole function&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;deactivate_plugins($my_plugin);&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;This code made my work easy that’s why I am sharing it , so it may be useful for someone.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/428280211046608396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-activate-or-deactivate-wordpress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/428280211046608396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/428280211046608396'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/09/how-to-activate-or-deactivate-wordpress.html' title='How to Activate or Deactivate wordpress plug-in programmatically?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgYp_XPGquYi-4kr_LtJvJTaCg7jjFSJWgleG_Kv28OQECtcJ63BYFp2TpGyoPWgpUvV1bkPoEvnoa9_zYIqTOorEi-koZdd2NFXBVDH5t6meH1VDhGJKcRpxfLlznjrp-iHUXNKYKTROpQ/s72-c/wordpress-plugin.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-8139780501467791654</id><published>2011-07-28T03:02:00.001-07:00</published><updated>2011-07-28T03:02:59.024-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="shortcode"/><category scheme="http://www.blogger.com/atom/ns#" term="widget"/><title type='text'>How to add shortcode to wordpress widget?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;Wordpress has one great feature called shortcode for adding some special content to the posts or pages. Shortcodes are the keywords with the square brackets.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 13px; line-height: 14px;&quot;&gt;Ex: [gallery] is the shortcode to insert a gallery into a post or page.Place this shortcode in the page where you want to display the gallery.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;Like this adding a shortcode to the page or post is very simple then we will get a question “how to add shortcode to widgets?”&lt;/div&gt;&lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;If we add a shortcode to widget in the same process of adding to a post, then the shortcode ([gallery] in the above example) only be displayed instead of special content. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; line-height: 115%;&quot;&gt;To add shortcode to the widget follow these steps.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;1&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, sans-serif; font-size: 13px;&quot;&gt;Login into wordpress admin page and go to the Theme      Editor — i.e. select &lt;b&gt;Apperance &lt;/b&gt;&amp;gt;&lt;b&gt; Editor&lt;/b&gt; from admin menu.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; mso-list: l0 level1 lfo1; mso-margin-bottom-alt: auto; mso-margin-top-alt: auto; tab-stops: list .5in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Select Functions&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;      or &lt;b&gt;functions.php&lt;/b&gt; from the list of files in the right panel,and      click on it to load it into the editor.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Then add the following line of php code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-left: 0.25in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;add_filter(&#39;widget_text&#39;, &#39;do_shortcode&#39;);&lt;span style=&quot;mso-tab-count: 1;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;ol start=&quot;4&quot; type=&quot;1&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Click on the &lt;b&gt;Update File&lt;/b&gt; button to save the file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;That’s it.Now if you add shortcode to the sidebar it will process the code and will display the special content.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/8139780501467791654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/how-to-add-shortcode-to-wordpress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/8139780501467791654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/8139780501467791654'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/how-to-add-shortcode-to-wordpress.html' title='How to add shortcode to wordpress widget?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-2912901616804066673</id><published>2011-07-27T02:22:00.000-07:00</published><updated>2011-07-27T02:25:48.036-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="+1 button"/><category scheme="http://www.blogger.com/atom/ns#" term="google +1 button"/><category scheme="http://www.blogger.com/atom/ns#" term="google plus"/><title type='text'>How to add google +1 button to wordpress post page?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif; line-height: 18px;&quot;&gt;&amp;nbsp;All you know that google recently launched google+, and it has the high features for sharing the website content( Promotion).Google +1&amp;nbsp; button is one of the feature of google+ for social recommendation. This feature is like facebook like button.&lt;/span&gt;&lt;/div&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Here are the simple steps to add +1 to wordpress post page or archive page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Get the code from &lt;/span&gt;&lt;a href=&quot;http://www.google.com/webmasters/+1/button/&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Google+&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;The code will be like this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;! -- Place this tag in your head or just before your close body tag --&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;https://apis.google.com/js/plusone.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;! -- Place this tag where you want the +1 button to render --&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;g:plusone href=&quot;http://www.greatnewmovies.com&quot;&amp;gt;&amp;lt;/g:plusone&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Now open your theme header file and place the following code in the header file before &amp;lt;/head&amp;gt; tag.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;! -- Place this tag in your head or just before your close body tag --&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;script type=&quot;text/javascript&quot; src=&quot;https://apis.google.com/js/plusone.js&quot;&amp;gt;&amp;lt;/script&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Then we need to place the +1 button. Open your sinle.php file and place the following code in the file where you want to render the button.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;! -- Place this tag where you want the +1 button to render --&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;code&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;lt;g:plusone href=&quot;&amp;lt;?php the_permalink(); ?&amp;gt;&quot;&amp;nbsp; size=&quot;small&quot;&amp;nbsp;&amp;gt;&amp;lt;/g:plusone&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;code&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;code&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Here we have the option to change button sizes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;code&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt; &lt;/span&gt;&lt;/code&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Size=&quot;small&quot;&amp;nbsp; - To display small size +1 button of 15px&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Size=&quot;medium&quot; - To display medium size +1 button of 20px&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Size=&quot;large&quot; - To display large size +1 button of 60px&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;That’s it .This will display +1 button on wordpress post page.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Enjoy Sharing.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/2912901616804066673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/how-to-add-google-1-button-to-wordpress.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2912901616804066673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2912901616804066673'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/how-to-add-google-1-button-to-wordpress.html' title='How to add google +1 button to wordpress post page?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-1003612701616160425</id><published>2011-07-21T03:29:00.000-07:00</published><updated>2011-07-21T03:30:47.696-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="image alignment"/><category scheme="http://www.blogger.com/atom/ns#" term="problem with image alignment"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress"/><title type='text'>How to avoid the image alignment problem in Wordpress?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot;&gt;Wordpress has an excellent feature of adding images into a post while at the time of adding a new post or at the time of editing post. After adding images into post we can align those to different positions like left, right, center and none along with the text. &lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirxImpONUMxKB3M1I_qKn3z8NQF7l5yfyO5bTBbgJ7HzDaEJU4vG9ilGre7QiK7T2b2U6j9gncb9UlmnBglQIgEjXnXzZwRput-WxkVOqBKs8SKtEwpMOI_FOFz4AzPo5bu_dLX4FNHCrW/s1600/editor.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;190&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirxImpONUMxKB3M1I_qKn3z8NQF7l5yfyO5bTBbgJ7HzDaEJU4vG9ilGre7QiK7T2b2U6j9gncb9UlmnBglQIgEjXnXzZwRput-WxkVOqBKs8SKtEwpMOI_FOFz4AzPo5bu_dLX4FNHCrW/s320/editor.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;Some times we will get a problem like the image is not aligned properly as per the selection. To avoid this problem add the following lines of code into your selected theme stylesheet.&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;/* =WordPress Core&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;-------------------------------------------------------------- */&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.alignnone {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 20px 20px 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.aligncenter, div.aligncenter {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display:block;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px auto 5px auto;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.alignright {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float:right;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 0 20px 20px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.alignleft {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float:left;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 20px 20px 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.aligncenter {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display: block;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px auto 5px auto;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;a img.alignright {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float:right;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 0 20px 20px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;a img.alignnone {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 20px 20px 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;a img.alignleft {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; float:left;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 20px 20px 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;a img.aligncenter {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; display: block;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin-left: auto;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin-right: auto&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.wp-caption {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; background: #fff;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; border: 1px solid #f0f0f0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max-width: 96%; /* Image does not overflow the content area */&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding: 5px 3px 10px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; text-align: center;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.wp-caption.alignnone {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 20px 20px 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.wp-caption.alignleft {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 20px 20px 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.wp-caption.alignright {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin: 5px 0 20px 20px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.wp-caption img {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; border: 0 none;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; height: auto;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; max-width: 98.5%;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; width: auto;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;.wp-caption p.wp-caption-text {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; font-size:11px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; line-height:17px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; margin:0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; padding:0 4px 5px;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0in; 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;&quot;&gt;&lt;span style=&quot;font-size: 10pt;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;If you need more information about this issue just refer the following link&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;http://codex.wordpress.org/CSS&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/1003612701616160425/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/how-to-avoid-image-alignment-problem-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/1003612701616160425'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/1003612701616160425'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/how-to-avoid-image-alignment-problem-in.html' title='How to avoid the image alignment problem in Wordpress?'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEirxImpONUMxKB3M1I_qKn3z8NQF7l5yfyO5bTBbgJ7HzDaEJU4vG9ilGre7QiK7T2b2U6j9gncb9UlmnBglQIgEjXnXzZwRput-WxkVOqBKs8SKtEwpMOI_FOFz4AzPo5bu_dLX4FNHCrW/s72-c/editor.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-5036572412183057761.post-2503126170673949509</id><published>2011-07-13T23:26:00.000-07:00</published><updated>2011-07-13T23:33:30.772-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="htaccess"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress"/><category scheme="http://www.blogger.com/atom/ns#" term="wordpress login url"/><title type='text'>Wordpress login url change with .htaccess</title><content type='html'>&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;Thought to change Wordpress default login url &quot;http://www.website.com/wp-login.php&quot; to something like &quot;http://www.website.com/wlogin&quot; , tried this code and it works fine for me and i am sharing this to all who want to change like me.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&amp;nbsp;To do this you have to add the following code to your .htaccess file which is located at your root directory of your wordpress install.&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/div&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;RewriteRule &amp;nbsp;^wlognin$ &amp;nbsp;http://website.com/wp-login.php [NC,L]&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;</content><link rel='replies' type='application/atom+xml' href='http://wordpressnotes.blogspot.com/feeds/2503126170673949509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/wordppress-login-url-change-with.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2503126170673949509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5036572412183057761/posts/default/2503126170673949509'/><link rel='alternate' type='text/html' href='http://wordpressnotes.blogspot.com/2011/07/wordppress-login-url-change-with.html' title='Wordpress login url change with .htaccess'/><author><name>Anjali</name><uri>http://www.blogger.com/profile/00848563720147642908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>