<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>Ajay Kumar Singh &#187; WordPress</title> <atom:link href="http://www.ajaykumarsingh.com/wordpress/feed" rel="self" type="application/rss+xml" /><link>http://www.ajaykumarsingh.com</link> <description>Blogging [^Singh^]</description> <lastBuildDate>Sat, 04 Feb 2012 23:10:08 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>Oops! Sorry an error has occurred. Please click here to contact us so that we can fix it.</title><link>http://www.ajaykumarsingh.com/wordpress/oops-sorry-an-error-has-occurred-please-click-here-to-contact-us-so-that-we-can-fix-it.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/oops-sorry-an-error-has-occurred-please-click-here-to-contact-us-so-that-we-can-fix-it.html#comments</comments> <pubDate>Sat, 26 Nov 2011 12:44:59 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Creating a Blog]]></category> <category><![CDATA[Error]]></category> <category><![CDATA[Wordpress.com]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=1039</guid> <description><![CDATA[Error while creating a blog on WordPress.com.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/an-unexpected-http-error-occurred-during-the-api-request.html" rel="bookmark">An Unexpected HTTP Error occurred during the API request</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html" rel="bookmark">Fatal error: Cannot redeclare stats_get_options() (previously declared in</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/rss-error-wp-http-error-couldnt-resolve-host.html" rel="bookmark">RSS Error: WP HTTP Error: Couldn&#8217;t resolve host</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/mcafee-error-submitting-site-for-verification.html" rel="bookmark">McAfee &#8211; Error Submitting Site for Verification</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>I never had any blog on WordPress.com and the reason is their draconian policy of removing a blog without any reason. You spend all your time in creating a blog on WordPress.com and for no apparent reason it is gone one day leaving you frustrated.</p><p>Lately a lot of social media platforms are closing down and most of them offer option to migrate to WordPress.com. MSN Spaces, Knol are just few examples.</p><p>So I decided to move my accounts from these social media to WordPress.com</p><p>When I tried to create a new blog on WordPress.com I started to get error.</p><p>I get following message whenever I try to create a new blog.</p><div
id="attachment_1040" class="wp-caption aligncenter" style="width: 586px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/WordPress-Error-While-Creating-a-Blog.jpg"><img
class="size-full wp-image-1040" title="Error wile creating a blog onm WordPress.com" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/WordPress-Error-While-Creating-a-Blog.jpg" alt="Error wile creating a blog onm WordPress.com" width="576" height="130" /></a><p
class="wp-caption-text">Error wile creating a blog onm WordPress.com</p></div><blockquote><p>Oops! Sorry an error has occurred. Please click here to contact us so that we can fix it.<br
/> Please remember that you have to provide the full, complete Blog URL, otherwise we can not fix it</p></blockquote><p>First I thought it might be the blog name which they might have marked as spam or something. But this happens with any blog name I select.</p><p>Not sure what is the problem. There is no solution available at all anywhere. their support forums seems to be silent with this error.</p><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/an-unexpected-http-error-occurred-during-the-api-request.html" rel="bookmark">An Unexpected HTTP Error occurred during the API request</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html" rel="bookmark">Fatal error: Cannot redeclare stats_get_options() (previously declared in</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/rss-error-wp-http-error-couldnt-resolve-host.html" rel="bookmark">RSS Error: WP HTTP Error: Couldn&#8217;t resolve host</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/mcafee-error-submitting-site-for-verification.html" rel="bookmark">McAfee &#8211; Error Submitting Site for Verification</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/oops-sorry-an-error-has-occurred-please-click-here-to-contact-us-so-that-we-can-fix-it.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Add Delicious Counter Button To WordPress</title><link>http://www.ajaykumarsingh.com/wordpress/how-to-add-delicious-counter-button-to-wordpress.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/how-to-add-delicious-counter-button-to-wordpress.html#comments</comments> <pubDate>Sat, 19 Nov 2011 21:53:18 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Delicious]]></category> <category><![CDATA[Delicious Counter Button]]></category> <category><![CDATA[How To Add Delicious Counter Button To WordPress]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=1006</guid> <description><![CDATA[Simple tutorial on How To Add Delicious Counter Button To WordPress.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-google-1-button-to-wordpress.html" rel="bookmark">How To Add Google +1 Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-yahoo-buzz-button-to-wordpress.html" rel="bookmark">How to add Yahoo Buzz button to WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/tumblr-button-for-wordpress.html" rel="bookmark">Tumblr Button For WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-twitter-button-count-on-wordpress-blog.html" rel="bookmark">How to add Twitter Button Count on WordPress Blog</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html" rel="bookmark">Google Buzz Count Button For WordPress</a></li></ol> ]]></description> <content:encoded><![CDATA[<div
id="attachment_1007" class="wp-caption alignleft" style="width: 375px"><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-delicious-counter-button-to-wordpress.html/attachment/delicious-counter-button-wordpress" rel="attachment wp-att-1007"><img
class="size-full wp-image-1007" title="Delicious Counter Button for WordPress" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/delicious-counter-button-wordpress.jpg" alt="Delicious Counter Button for WordPress" width="365" height="272" /></a><p
class="wp-caption-text">Delicious Counter Button for WordPress</p></div><p>I&#8217;m liking delicious in it&#8217;s new avatar since it was sold to the founders of YouTube.</p><p>I&#8217;ve resisted not to use delicious counter button on any of my blogs as I was waiting to see the new changes. Now time has come to use delicious counter button again for good.</p><p>Delicious has introduced many new changes. It has introduced concept of Stack which is nothing but a way to group various links.</p><p>Delicious counter button is little bit tricky but I&#8217;ll keep it simple.</p><p>In order to add Delicious counter button to WordPress you need to add 2 pieces of codes in header and single template files as described below.</p><h3>Add the following code in header.php file</h3><pre class="brush: plain; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;http://delicious-button.googlecode.com/files/jquery.delicious-button-1.0.min.js&quot;&gt;&lt;/script&gt;
</pre><h3>Add following code in single.php file</h3><pre class="brush: plain; title: ; notranslate">&lt;a class='delicious-button'  href='http://delicious.com/save'&gt;
&lt;!-- {
   url:&quot;&lt;?php the_permalink() ?&gt;&quot;
   ,title:&quot;&lt;?php the_title(); ?&gt;&quot;
   ,button:&quot;wide&quot;
   } --&gt;
   Save on Delicious
&lt;/a&gt;
</pre><p>Above code will not work on category.php. I&#8217;ll update this code to make it work on Category pages later.</p><p>You can see a live implementation of Delicious counter button on <strong><a
title="Bollywood" href="http://www.bollywood.eu.com" target="_blank">Bollywood</a></strong> blog.</p><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-google-1-button-to-wordpress.html" rel="bookmark">How To Add Google +1 Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-yahoo-buzz-button-to-wordpress.html" rel="bookmark">How to add Yahoo Buzz button to WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/tumblr-button-for-wordpress.html" rel="bookmark">Tumblr Button For WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-twitter-button-count-on-wordpress-blog.html" rel="bookmark">How to add Twitter Button Count on WordPress Blog</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html" rel="bookmark">Google Buzz Count Button For WordPress</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/how-to-add-delicious-counter-button-to-wordpress.html/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Google Analyticator Plugin Affected with Malware</title><link>http://www.ajaykumarsingh.com/wordpress/google-analyticator-plugin-affected-with-malware.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/google-analyticator-plugin-affected-with-malware.html#comments</comments> <pubDate>Fri, 11 Nov 2011 10:27:02 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Google Analyticator]]></category> <category><![CDATA[Google Analyticator Plugin Affected with Malware]]></category> <category><![CDATA[osCommerce]]></category> <category><![CDATA[security-laboratory.ru]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=982</guid> <description><![CDATA[While installing a new WordPress blog I found that Google Analyticator Plugin is affected with Malware?<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/google/google-webmaster-central-blog-affected-with-malware.html" rel="bookmark">Google Webmaster Central Blog Affected With Malware</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-google-analyticator-plugin-problem-with-authentication.html" rel="bookmark">WordPress &#8211; Google Analyticator Plugin &#8211; Problem With Authentication</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/mcafee-error-submitting-site-for-verification.html" rel="bookmark">McAfee &#8211; Error Submitting Site for Verification</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/web-ninja-google-analytics-plugin-slows-down-admin-post-listing-page.html" rel="bookmark">Web Ninja Google Analytics Plugin Slows Down Admin Post Listing Page</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>Here is what happened. I copied entire WordPress folders to a new domain&#8217;s site root. I always do this instead of installing everything from fresh. It saves a lot of time.</p><p>I activated all the plugins and while I was changing the Google Analyticator&#8217;s settings, I found that it is affected with Malware?</p><p>First I thought it might be my theme files so I did a Google search to find if there are any issues with Google Analyticator and Malware. I could see few posts in forums suggesting that Google Analyticator does indeed somehow is affected with Malware or at least the malicious code uses Google Analyticator to spread Malware.</p><p>However it might not be the case as <a
title="Google Analyticator Malware" href="http://forums.ronaldheft.com/viewtopic.php?f=6&amp;t=881" target="_blank">Ronald Hoff&#8217;s post </a>suggests.</p><p>When you are in Google Analyticator&#8217;s settings and click on Save, either it redirects to Google&#8217;s home page or you get a malware warning in the browser.</p><div
id="attachment_983" class="wp-caption aligncenter" style="width: 630px"><a
href="http://www.ajaykumarsingh.com/wordpress/google-analyticator-plugin-affected-with-malware.html/attachment/google-analyticator-malware" rel="attachment wp-att-983"><img
class="size-full wp-image-983 " title="Google Analyticator Affected with Malware" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/Google-Analyticator-Malware.jpg" alt="Google Analyticator Affected with Malware" width="620" height="495" /></a><p
class="wp-caption-text">Google Analyticator Affected with Malware</p></div><p>Also the affected website shows following warning:</p><div
id="attachment_984" class="wp-caption aligncenter" style="width: 635px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/Google-Analyticator-Malware-Warning.jpg"><img
class="size-full wp-image-984 " title="Google Analyticator Malware Warning" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/Google-Analyticator-Malware-Warning.jpg" alt="Google Analyticator Malware Warning" width="625" height="317" /></a><p
class="wp-caption-text">Google Analyticator Malware Warning</p></div><p>The problematic url is security-laboratory.ru which is notorious for injecting malware in free open source scripts specially in osCommerce. I&#8217;ve seen this Malware in some of osComemrce sites and it is pretty nasty. This is the first time that I see it in a WordPress site.</p><p>The nasty stuff about security-laboratory.ru is that it doesn&#8217;t just add a code in the files which can be easily found in the php files but in adds an eval code which is hard to find.</p><p>It affects the header, footer, index and plenty of other common php files in osCommerce and also modifies .htaccess in very clever way. In .htaccess it adds malicious code towards the end by adding many empty lines before. So if open .htaccess file in a text editor you might not see code after the end of normal code but just scroll down and then you will discover the malicious codes.</p><p>I disabled the plugin and the malware was no longer seen.</p><p>I quickly checked some of other WordPress sites and I didn&#8217;t find this issue.</p><p>There is a chance that there is malicious code in the files.</p><p>I tried to backtrack what has happened. There might be chances that I visited a security-laboratory.ru malware affected website and then I Installed WordPress on this new site. Everything was fine until I tried to update the settings for Google Analyticator and at that point of time the WordPress site might be affected with Malware.</p><p>Before Google Analyticator I also changed the settings for various other plugins but I didn&#8217;t see any Malware warnings.</p><h3>Checking the files for malicious code</h3><p>I did a thorough search by searching for <strong>eval( </strong>string in all files in WordPress installation and guess what, I found that some files are affected.</p><p>There is file in the site root - tmp_1407122956494849.php which contains a piece of jumbled up code and it looks all too familiar.</p><p>So it seems Malware has affected the WordPress site.</p><h3>.htaccess file</h3><p>As usual I also find bunch of malicious code in .htaccess.</p><p>There were a bunch of lines with Error redirect to<strong> plasticspark.ru </strong>after the normal WordPress .htaccess entries.</p><p>Next I did a search for tmp_ files from webhosting root to make sure that non of other sites are affected. The command to search for a file with tmp_ name in it is</p><p><strong>find /home/*/public_html/ -name &#8216;tmp_&#8217;</strong></p><p>Then another search for entries in .htaccess</p><p><strong>find /home/*/public_html/.htaccess -exec grep &#8220;plasticspark.ru&#8221; &#8216;{}&#8217; /dev/null \; -print</strong></p><p>Nothing found so I can be assured that other sites are not affected.</p><h3>Conclusion</h3><p>To conclude I can assume that the malicious code might have been injected to this new WordPress site when I was setting it up after visiting any other malware affected sites.</p><p>Now the most important question is how this code was injected into the WordPress? Is WordPress prone to such injection or it was the Google Analyticator plugin which gave way to the malware into WordPress?</p><h3>Here are some safety tips</h3><p><strong>When you see the warning in browser for a malware then never ever visit the website. </strong></p><p>If you visit a malware affected site then chances are that your computer might get affected as well.</p><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/google/google-webmaster-central-blog-affected-with-malware.html" rel="bookmark">Google Webmaster Central Blog Affected With Malware</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-google-analyticator-plugin-problem-with-authentication.html" rel="bookmark">WordPress &#8211; Google Analyticator Plugin &#8211; Problem With Authentication</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/mcafee-error-submitting-site-for-verification.html" rel="bookmark">McAfee &#8211; Error Submitting Site for Verification</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/web-ninja-google-analytics-plugin-slows-down-admin-post-listing-page.html" rel="bookmark">Web Ninja Google Analytics Plugin Slows Down Admin Post Listing Page</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/google-analyticator-plugin-affected-with-malware.html/feed</wfw:commentRss> <slash:comments>4</slash:comments> </item> <item><title>Catchable fatal error: Object of class WP_Error could not be converted to string in</title><link>http://www.ajaykumarsingh.com/wordpress/catchable-fatal-error-object-of-class-wp_error-could-not-be-converted-to-string-in.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/catchable-fatal-error-object-of-class-wp_error-could-not-be-converted-to-string-in.html#comments</comments> <pubDate>Thu, 10 Nov 2011 12:23:09 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Catchable fatal error: Object of class WP_Error could not be converted to string in]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=959</guid> <description><![CDATA[Solving WordPress Error - Catchable fatal error: Object of class WP_Error could not be converted to string in<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html" rel="bookmark">Fatal error: Cannot redeclare stats_get_options() (previously declared in</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/warning-trim-expects-parameter-1-to-be-string-array-given-in-public_htmlwp-adminincludesimage-php-on-line-300.html" rel="bookmark">Warning: trim() expects parameter 1 to be string, array given in /public_html/wp-admin/includes/image.php on line 300</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/warning-file_get_contents-function-file-get-contents-url-file-access-is-disabled-in-the-server-configuration-in-wp-contentpluginsdigg-diggdd-class-php-on-line-693.html" rel="bookmark">Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /wp-content/plugins/digg-digg/dd.class.php on line 693</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/rss-error-wp-http-error-couldnt-resolve-host.html" rel="bookmark">RSS Error: WP HTTP Error: Couldn&#8217;t resolve host</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>Out of Blue I got this error today when I clicked on an image on my blog.</p><div
id="attachment_960" class="wp-caption aligncenter" style="width: 615px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/Catchable-fatal-error-Object-of-class-WP_Error-could-not-be-converted-to-string-in.jpg"><img
class="size-full wp-image-960 " title="WordPress Error: Catchable fatal error Object of class WP_Error could not be converted to string in" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/Catchable-fatal-error-Object-of-class-WP_Error-could-not-be-converted-to-string-in.jpg" alt="WordPress Error: Catchable fatal error Object of class WP_Error could not be converted to string in" width="605" height="230" /></a><p
class="wp-caption-text">WordPress Error: Catchable fatal error Object of class WP_Error could not be converted to string in</p></div><blockquote><p>Catchable fatal error: Object of class WP_Error could not be converted to string in /public_html/wp-content/themes/ajaykumarsingh/includes/theme-functions.php on line 271</p></blockquote><p>I&#8217;ve never seen this kind of error before and it never happened on any of my blogs before.</p><p>The weird thing is that I&#8217;m using exactly same theme on <a
title="Laptop Reviews" href="http://www.laptopreviews4u.co.uk" target="_blank">Laptop Reviews</a> blog and there is no error there. I haven&#8217;t modified any theme functions in the theme at all.</p><p>Did search for &#8220;WordPress Error: Catchable fatal error Object of class WP_Error could not be converted to string in&#8221; but couldn&#8217;t find a clear solution. It seems this error is related with some menu or menu plugins. I&#8217;m not using any menu plugins.</p><p>The theme I&#8217;m using has it&#8217;s own inbuilt menu system so probably that might be causing this problem?</p><p>Here are some of the steps I followed to solve this issue</p><h3>1) theme-functions.php  line 271</h3><p>I checked the code at line no. 271 and it is out of my reach to find out what could be the error here.</p><h3>2) Menu</h3><p>I remember fiddling with the menus as I&#8217;ve to customize to add a second level menu as you can see in the header. So the nest step was to remove the secondary level menu. It didn&#8217;t fix the problem.</p><p>Then I deleted all the menu from the Custom Navigation in the theme&#8217;s option but it still didn&#8217;t solve the problem.</p><h3>3) Image linked to attachment</h3><p>I normally link images to attachment url and not to the image itself. So I decided to do a quick check to revert back one image to link to image itself and not to the attachment url and bingo the error was gone.</p><p>So it seems the error is triggered from the attachment url or attachment theme.</p><h3>4) Switched Back to Default Theme</h3><p>Another quick test I did was to switch the theme to Twenty Eleven, and when I clicked on the image I didn&#8217;t see any error.</p><p>So I&#8217;ve narrowed down the problem to attachment theme file.</p><h3>5) Finding the problem in Theme files</h3><p>I don&#8217;t have any attachment template file so the default file used for attachment urls would be signle.php which is next template file in the WordPress template hierarchy. However I haven&#8217;t changed anything in the single.php file so I don&#8217;t see any problem in single.php file.#</p><h3>6) Removing Custom Navigation from the Theme</h3><p>Next try is to complete remove the custom navigation from the theme and also remove/comment out all the function this navigation system uses.</p><p>Chances are that this will solve the problem.</p><p>If this doesn&#8217;t solve the problem then the last resort is either do something in database.</p><h3>The Solution</h3><p>The problem seems to be with the theme&#8217;s custom breadcrumb. I unchecked the custom breadcrumb option and now error is gone.</p><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html" rel="bookmark">Fatal error: Cannot redeclare stats_get_options() (previously declared in</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/warning-trim-expects-parameter-1-to-be-string-array-given-in-public_htmlwp-adminincludesimage-php-on-line-300.html" rel="bookmark">Warning: trim() expects parameter 1 to be string, array given in /public_html/wp-admin/includes/image.php on line 300</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/warning-file_get_contents-function-file-get-contents-url-file-access-is-disabled-in-the-server-configuration-in-wp-contentpluginsdigg-diggdd-class-php-on-line-693.html" rel="bookmark">Warning: file_get_contents() [function.file-get-contents]: URL file-access is disabled in the server configuration in /wp-content/plugins/digg-digg/dd.class.php on line 693</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/rss-error-wp-http-error-couldnt-resolve-host.html" rel="bookmark">RSS Error: WP HTTP Error: Couldn&#8217;t resolve host</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/catchable-fatal-error-object-of-class-wp_error-could-not-be-converted-to-string-in.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress &#8211; Google Analyticator Plugin &#8211; Problem With Authentication</title><link>http://www.ajaykumarsingh.com/wordpress/wordpress-google-analyticator-plugin-problem-with-authentication.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/wordpress-google-analyticator-plugin-problem-with-authentication.html#comments</comments> <pubDate>Tue, 01 Nov 2011 20:43:38 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Authentication]]></category> <category><![CDATA[Google Accounts]]></category> <category><![CDATA[Google Analyticator Plugin]]></category> <category><![CDATA[Manage Domain]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=943</guid> <description><![CDATA[WordPress problem with Google Analyticator plugin authentication - The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/yahoo/your-message-was-not-sent-yahoo-mail-problem.html" rel="bookmark">Your message was not sent &#8211; Yahoo Mail Problem</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html" rel="bookmark">Google Buzz Count Button For WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-page-format-problem.html" rel="bookmark">WordPress Page Format Problem</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/web-ninja-google-analytics-plugin-slows-down-admin-post-listing-page.html" rel="bookmark">Web Ninja Google Analytics Plugin Slows Down Admin Post Listing Page</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>I use Google Analyticator plugin on almost all of my blog to see a snapshot of the Google Analytics data. It has been working flawlessly till I faced problem on my recent blog &#8211; <strong><a
title="Bollywood" href="http://www.bollywood.eu.com" target="_blank">Bollywood</a></strong>.</p><p>While authenticating with Google accounts it shows following error:</p><div
id="attachment_944" class="wp-caption aligncenter" style="width: 669px"><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-google-analyticator-plugin-problem-with-authentication.html/attachment/google-analyticator-google-authentication-problem" rel="attachment wp-att-944"><img
class="size-full wp-image-944" title="Google Analyticator Google Accounts Authentication Problem" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/google-analyticator-google-authentication-problem.jpg" alt="Google Analyticator Google Accounts Authentication Problem" width="659" height="173" /></a><p
class="wp-caption-text">Google Analyticator Google Accounts Authentication Problem</p></div><blockquote><p>The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request. Please contact the site that you were trying to use when you received this message to inform them of the error. A detailed error message follows:</p><p>The site &#8220;http://eu.com&#8221; has not been registered.</p></blockquote><p>That&#8217;s bit of weird, I don&#8217;t do anything different on this blog so why this error. Error shows the site as eu.com, which is not the full domain name. So it seems somehow during Authentication plugin is passing incorrect domain name/url.</p><p>Did bit of Googling to find out a solution. The solution suggested on various forums was to add domain to Google accounts -https://accounts.google.com/UpdateDomain</p><p>I added domain at Google Accounts &#8211; Manage Domain</p><div
id="attachment_945" class="wp-caption aligncenter" style="width: 588px"><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-google-analyticator-plugin-problem-with-authentication.html/attachment/google-accounts-manage-domain" rel="attachment wp-att-945"><img
class="size-full wp-image-945" title="Google Accounts - Manage Domain" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/11/google-accounts-manage-domain.jpg" alt="Google Accounts - Manage Domain" width="578" height="500" /></a><p
class="wp-caption-text">Google Accounts - Manage Domain</p></div><p>For target URL path fix I just entered domain name as suggested in some forum.</p><p>After adding domain at Google Accounts I re-tried to authenticate but it still didn&#8217;t work. It shows following error:</p><blockquote><p>The page you have requested cannot be displayed. Another site was requesting access to your Google Account, but sent a malformed request. Please contact the site that you were trying to use when you received this message to inform them of the error. A detailed error message follows:</p><p>AuthSub target path prefix does not match the provided &#8220;next&#8221; URL.</p></blockquote><p>It seems it is going to be tough.</p><p>I decided to log out of Google Accounts, went back to Google Analyticator plugin settings page I re-authenticated and it worked.</p><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/yahoo/your-message-was-not-sent-yahoo-mail-problem.html" rel="bookmark">Your message was not sent &#8211; Yahoo Mail Problem</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html" rel="bookmark">Google Buzz Count Button For WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-page-format-problem.html" rel="bookmark">WordPress Page Format Problem</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/web-ninja-google-analytics-plugin-slows-down-admin-post-listing-page.html" rel="bookmark">Web Ninja Google Analytics Plugin Slows Down Admin Post Listing Page</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/wordpress-google-analyticator-plugin-problem-with-authentication.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Fatal error: Cannot redeclare stats_get_options() (previously declared in</title><link>http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html#comments</comments> <pubDate>Sun, 09 Oct 2011 22:12:58 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Error]]></category> <category><![CDATA[Plugin]]></category> <category><![CDATA[Wordpress.com Stats]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=929</guid> <description><![CDATA[You might get this error when you try to delete the Wordpress.com Stats plugin.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/warning-cannot-modify-header-information-headers-already-sent-by.html" rel="bookmark">Warning: Cannot modify header information &#8211; headers already sent by</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/an-unexpected-http-error-occurred-during-the-api-request.html" rel="bookmark">An Unexpected HTTP Error occurred during the API request</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/web-ninja-google-analytics-plugin-slows-down-admin-post-listing-page.html" rel="bookmark">Web Ninja Google Analytics Plugin Slows Down Admin Post Listing Page</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wp-super-cache-error-your-cache-directory-did-not-exist-and-couldn%e2%80%99t-be-created-by-the-web-server.html" rel="bookmark">WP Super Cache &#8211; Error: Your cache directory () did not exist and couldn’t be created by the web server</a></li></ol> ]]></description> <content:encoded><![CDATA[<div
id="attachment_930" class="wp-caption aligncenter" style="width: 660px"><a
href="http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html/attachment/fatal-error-cannot-redeclare-stats_get_options" rel="attachment wp-att-930"><img
class="size-full wp-image-930" title="Fatal error: Cannot redeclare stats_get_options" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/10/Fatal-error-Cannot-redeclare-stats_get_options.jpg" alt="Fatal error: Cannot redeclare stats_get_options" width="650" height="140" /></a><p
class="wp-caption-text">Fatal error: Cannot redeclare stats_get_options</p></div><p>You might get this error if you try to delete WordPress.com Stats plugin. This happens when you have installed Jetpack by WordPress.com plugin.</p><blockquote><p>Fatal error: Cannot redeclare stats_get_options() (previously declared in /home/../public_html/wp-content/plugins/jetpack/modules/stats.php:110) in /home/swamid/public_html/wp-content/plugins/stats/stats.php on line 91</p></blockquote><p>I haven&#8217;t done a lot of research on this issue so can&#8217;t find out the exact reason for this error.</p><p>If you have WordPress.com stats and Jetpack by WordPress.com plugins installed and you want to delete the WordPress.com plugin then fist disable Jetpack by WordPress.com plugin then delete WordPress.com plugin and you will not see any error.</p><p>Even if you forget to deactivate Jetpack by WordPress.com plugin before deleting WordPress.com plugin then no need to worry. WordPress.com plugin will still be deleted even though you see error.</p><p>Ignore the error and go back to WordPress admin and everything should be fine.</p><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-com-statsplugin-error-error-from-last-api-key-attempt.html" rel="bookmark">WordPress.com Stats Plugin Error &#8211; Error from last API Key attempt</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/warning-cannot-modify-header-information-headers-already-sent-by.html" rel="bookmark">Warning: Cannot modify header information &#8211; headers already sent by</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/an-unexpected-http-error-occurred-during-the-api-request.html" rel="bookmark">An Unexpected HTTP Error occurred during the API request</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/web-ninja-google-analytics-plugin-slows-down-admin-post-listing-page.html" rel="bookmark">Web Ninja Google Analytics Plugin Slows Down Admin Post Listing Page</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wp-super-cache-error-your-cache-directory-did-not-exist-and-couldn%e2%80%99t-be-created-by-the-web-server.html" rel="bookmark">WP Super Cache &#8211; Error: Your cache directory () did not exist and couldn’t be created by the web server</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/fatal-error-cannot-redeclare-stats_get_options-previously-declared-in.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>How To Show Author Profile Picture Next To Google Search Results</title><link>http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html#comments</comments> <pubDate>Fri, 09 Sep 2011 22:27:29 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Author Profile Picture]]></category> <category><![CDATA[Google Profile]]></category> <category><![CDATA[Google Profile Picture]]></category> <category><![CDATA[Google Search Result]]></category> <category><![CDATA[Show Author Profile Picture Next To Google Search Results]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=908</guid> <description><![CDATA[This article will explain how to show author profile picture next to Google search results for WordPress blog posts.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/google/how-to-turn-off-google-instant-search.html" rel="bookmark">How To Turn Off Google Instant Search</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-show-random-posts-in-wordpress-theme.html" rel="bookmark">How To Show Random Posts In WordPress Theme</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-how-to-show-thumbnail-gallery-in-sidebar.html" rel="bookmark">WordPress &#8211; How To Show Thumbnail Gallery In Sidebar</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-3-2-admin-menu-doesnt-show.html" rel="bookmark">WordPress 3.2 Admin Menu Doesn&#8217;t Show</a></li><li><a
href="http://www.ajaykumarsingh.com/google/google-1.html" rel="bookmark">Google +1</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>This is the new hot thing in Google search, showing the author profile next to search result. Who doesn&#8217;t want to see pictures showing up next to his articles shown in the Google search result.</p><div
id="attachment_931" class="wp-caption aligncenter" style="width: 537px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/google-profile-picture-in-google-search-result.jpg"><img
class="size-full wp-image-931" title="Google Profile Picture in Google Search Result" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/google-profile-picture-in-google-search-result.jpg" alt="Google Profile Picture in Google Search Result" width="527" height="208" /></a><p
class="wp-caption-text">Google Profile Picture in Google Search Result</p></div><p>Showing author profile picture next to search result is the next phase of evolution in Google search result. Just seeing only plain old boring texts have become unbearable. So showing profile pictures is a cool thing. But it comes with a cost. Images slow down the search result which has been already slowed down with plenty of other factors which Google shows in search result.</p><p>Anyway, web is already flooded with the tutorials on how to show author profile picture next to Google search result. I tried to follow some of the tutorial but it didn&#8217;t work. Those tutorials are so complex. I don&#8217;t like complexities, complexity is waste of time. I like to simplify complexities and present in a manner which is understood to all.</p><p>In this tutorial I&#8217;ll explain how to show author profile picture in Google search result for WordPress blog posts.</p><h3>Step 1 &#8211; Add rel=&#8221;author&#8221; to WordPress theme</h3><p>First update your WordPress to the latest version as the WordPress 3.2+ has support for the stuff I&#8217;ll explain below and you don&#8217;t need to add any special function to the theme.</p><p>The first step is to adding <strong>rel=&#8221;author&#8221;</strong> attribute in the WordPress theme.</p><p>Add following line or something similar in your WordPress theme&#8217;s single.php file.</p><pre class="brush: plain; title: ; notranslate">&lt;span class=&quot;author&quot;&gt;By &lt;!--?php the_author_posts_link(); ?--&gt;&lt;/span&gt;</pre><h3>Step 2 &#8211; Add Author page link to Google+ profile</h3><p>You will have to tell Google which one is your author page.</p><p>To do so grab your author page link from WordPress blog which will be something like <strong><a>http://www.ajaykumarsingh.com/author/admin</a></strong></p><p>Visit your Google+ profile page</p><div
id="attachment_910" class="wp-caption aligncenter" style="width: 292px"><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html/attachment/googleplus-profile" rel="attachment wp-att-910"><img
class="size-full wp-image-910" title="Google+ Profile" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/googleplus-profile.jpg" alt="Google+ Profile" width="282" height="275" /></a><p
class="wp-caption-text">Google+ Profile</p></div><p>Click on Edit Profile</p><div
id="attachment_911" class="wp-caption aligncenter" style="width: 260px"><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html/attachment/googleplus-profile-edit" rel="attachment wp-att-911"><img
class="size-full wp-image-911" title="Google+ Profile Edit Profile" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/googleplus-profile-edit.jpg" alt="Google+ Profile Edit Profile" width="250" height="218" /></a><p
class="wp-caption-text">Google+ Profile Edit Profile</p></div><p>From Edit profile page click on links.</p><div
id="attachment_912" class="wp-caption aligncenter" style="width: 225px"><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html/attachment/googleplus-profile-edit-link" rel="attachment wp-att-912"><img
class="size-full wp-image-912" title="Google+ Profile Edit Links" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/googleplus-profile-edit-link.jpg" alt="Google+ Profile Edit Links" width="215" height="252" /></a><p
class="wp-caption-text">Google+ Profile Edit Links</p></div><p>Add a new link to your author page on WordPress blog.</p><div
id="attachment_913" class="wp-caption aligncenter" style="width: 363px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/googleplus-profile-add-link.jpg"><img
class="size-full wp-image-913" title="Google+ Profile Add Author Page Link" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/googleplus-profile-add-link.jpg" alt="Google+ Profile Add Author Page Link" width="353" height="169" /></a><p
class="wp-caption-text">Google+ Profile Add Author Page Link</p></div><p>Don&#8217;t forget to tick &#8220;This page is specifically about me&#8221; option.</p><p>Save and Exit the profile edit.</p><p>That&#8217;s it</p><p>Just wait for next update and hopefully you will see your shiny little picture next to your blog posts in Google search result, provided Google likes you ;)</p><p>Better get a nice looking picture added in your Google+ profile.</p><h3>FAQ</h3><p><strong>How much time it takes Google to show profile picture in search results</strong></p><p>I don&#8217;t know. People say it may take couple of days, let&#8217;s say, <span
style="color: #ff0000;"><del>1-4 days</del></span> 1 month. I&#8217;ve just implemented it today so I&#8217;ll keep an eye and will update when it shows up.</p><p><strong>I&#8217;ve single author WordPress blog, can I add link back to my home page? Or do I need to add link to author page only?</strong></p><p>Well I&#8217;m not too sure about this. But it makes sense to add author page link to Google+ profile. You can try adding link to home page  instead of author page and see what happens.</p><p><strong>I&#8217;ve seen some tutorials suggesting that we need to add Google+ profile link to WordPress page as well. Is it required?</strong></p><p>Well not sure. I&#8217;ve also seen tutorials explaining the same. I&#8217;ve already added link to my Google+ profile.</p><p><strong>I can&#8217;t find author page on my blog. When I click on author name it goes to the home page. </strong></p><p>You might have used some plugin to suppress author page generation. If so then you need to enable the author page generation. If you are using Robots Meta plugin then there is option to allow Author page generation.</p><p><strong>I don&#8217;t want to allow author page generation as it creates duplicate pages.</strong></p><p>You can make author pages to have <strong>rel=&#8221;noindex&#8221;</strong>. Try using Robots Meta plugin.</p><h3>Updates on 10-Oct-2011</h3><p>Finally the good news, Google starts to show my profile picture in the search results. So the above method works.</p><p>Just today I see profile picture showing up in the search result. See an example for <strong><a
title="Google Chrome Crash" href="/google-chrome/google-chrome-crash.html" target="_blank">Google Chrome Crash</a></strong> post.</p><div
id="attachment_931" class="wp-caption aligncenter" style="width: 537px"><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html/attachment/google-profile-picture-in-google-search-result" rel="attachment wp-att-931"><img
class="size-full wp-image-931" title="Google Profile Picture in Google Search Result" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/google-profile-picture-in-google-search-result.jpg" alt="Google Profile Picture in Google Search Result" width="527" height="208" /></a><p
class="wp-caption-text">Google Profile Picture in Google Search Result</p></div><p>So it took about 1 month of time for the author profile picture to show in Google search result.</p><p>However it is strange that Google profile picture doesn&#8217;t show for some of the older posts. E.g. see the result for <strong><a
title="Outlook on iPad" href="http://www.ajaykumarsingh.com/ipad/how-to-install-microsoft-outlook-on-ipad.html" target="_blank">Outlook on iPad</a></strong> post, the picture doesn&#8217;t show.</p><div
id="attachment_932" class="wp-caption aligncenter" style="width: 562px"><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html/attachment/google-profile-picture-does-not-show" rel="attachment wp-att-932"><img
class="size-full wp-image-932" title="Google Profile Picture Doesn't Show For Some Older Posts" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/09/google-profile-picture-does-not-show.jpg" alt="Google Profile Picture Doesn't Show For Some Older Posts" width="552" height="269" /></a><p
class="wp-caption-text">Google Profile Picture Doesn&#39;t Show For Some Older Posts</p></div><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/google/how-to-turn-off-google-instant-search.html" rel="bookmark">How To Turn Off Google Instant Search</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-show-random-posts-in-wordpress-theme.html" rel="bookmark">How To Show Random Posts In WordPress Theme</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-how-to-show-thumbnail-gallery-in-sidebar.html" rel="bookmark">WordPress &#8211; How To Show Thumbnail Gallery In Sidebar</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-3-2-admin-menu-doesnt-show.html" rel="bookmark">WordPress 3.2 Admin Menu Doesn&#8217;t Show</a></li><li><a
href="http://www.ajaykumarsingh.com/google/google-1.html" rel="bookmark">Google +1</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/how-to-show-author-profile-picture-next-to-google-search-results.html/feed</wfw:commentRss> <slash:comments>5</slash:comments> </item> <item><title>Tumblr Button For WordPress</title><link>http://www.ajaykumarsingh.com/wordpress/tumblr-button-for-wordpress.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/tumblr-button-for-wordpress.html#comments</comments> <pubDate>Fri, 26 Aug 2011 10:28:47 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[Tumbler Button]]></category> <category><![CDATA[Tumblr Button For WordPress]]></category> <category><![CDATA[Tumblr Share Button Code]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=892</guid> <description><![CDATA[How to add Tumblr button to WordPress Blog.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-reddit-button-to-wordpress.html" rel="bookmark">How To Add reddit Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-twitter-button-count-on-wordpress-blog.html" rel="bookmark">How to add Twitter Button Count on WordPress Blog</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-google-1-button-to-wordpress.html" rel="bookmark">How To Add Google +1 Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-facebook-like-button-to-wordpress.html" rel="bookmark">How To Add Facebook Like Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html" rel="bookmark">Google Buzz Count Button For WordPress</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>Tumblr is another emerging social networking site. I&#8217;ve been using tumblr for quite sometimes. I like it&#8217;s features, it is simple quick and within no time you can start socializing. You can share Link, Blog, Images and Videos on Tumblr.</p><p>It is very simple to add Tumblr button to WordPress.</p><h3>Step 1 &#8211; Get the custom code from Tumblr</h3><p>Visit <strong><a
title="Tumblr Share Button" href="http://www.tumblr.com/docs/en/share_button">Tumblr Share Button</a></strong> page and get your custom code. You can use advanced option to get the code. If your blog is generic then I would recommend to stick with basic code.</p><div
id="attachment_893" class="wp-caption aligncenter" style="width: 626px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/tumblr-share-button-basic.jpg"><img
class="size-full wp-image-893" title="Tumblr Share Button Code" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/tumblr-share-button-basic.jpg" alt="Tumblr Share Button Code" width="616" height="561" /></a><p
class="wp-caption-text">Tumblr Share Button Code</p></div><h3>Step 2 &#8211; Add the common code to the footer.php</h3><pre class="brush: jscript; title: ; notranslate">&lt;script type=&quot;text/javascript&quot; src=&quot;http://platform.tumblr.com/v1/share.js&quot;&gt;&lt;/script&gt;</pre><p>Copy the first piece of code and paste it before &lt;/body&gt; tag in footer.php file.</p><h3>Step 3 -Tumblr Share Button Code</h3><p>Copy and paste the Tumblr Share Button code into single.php file where you wish to show it.</p><pre class="brush: plain; title: ; notranslate">&lt;a href=&quot;http://www.tumblr.com/share&quot; title=&quot;Share on Tumblr&quot; style=&quot;display:inline-block; text-indent:-9999px; overflow:hidden; width:81px; height:20px; background:url('http://platform.tumblr.com/v1/share_1.png') top left no-repeat transparent;&quot;&gt;Share on Tumblr&lt;/a&gt;</pre><p>If you have Photo blog or video blog then you might wish to get the advanced version of share code. To do show click on advance option and select the share type. For the WordPress select PHP in the Programming Language option.</p><div
id="attachment_896" class="wp-caption aligncenter" style="width: 624px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/tumblr-share-button-advanced.jpg"><img
class="size-full wp-image-896" title="Tumblr Share Button - Advanced" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/tumblr-share-button-advanced.jpg" alt="Tumblr Share Button - Advanced" width="614" height="740" /></a><p
class="wp-caption-text">Tumblr Share Button - Advanced</p></div><p>Copy and paste the code as explained above.</p><p>You can see a live example on <a
title="Movies World" href="http://www.moviesworld.co.uk" target="_blank">Movies World</a> blog.</p><div
id="attachment_894" class="wp-caption aligncenter" style="width: 613px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/tumblr-share-button-movies-world.jpg"><img
class="size-full wp-image-894" title="Tumblr Share Button Code On Movies World Blog" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/tumblr-share-button-movies-world.jpg" alt="Tumblr Share Button Code On Movies World Blog" width="603" height="267" /></a><p
class="wp-caption-text">Tumblr Share Button Code On Movies World Blog</p></div><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-reddit-button-to-wordpress.html" rel="bookmark">How To Add reddit Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-twitter-button-count-on-wordpress-blog.html" rel="bookmark">How to add Twitter Button Count on WordPress Blog</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-google-1-button-to-wordpress.html" rel="bookmark">How To Add Google +1 Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-facebook-like-button-to-wordpress.html" rel="bookmark">How To Add Facebook Like Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html" rel="bookmark">Google Buzz Count Button For WordPress</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/tumblr-button-for-wordpress.html/feed</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Google Buzz Count Button For WordPress</title><link>http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html#comments</comments> <pubDate>Tue, 23 Aug 2011 11:12:54 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=885</guid> <description><![CDATA[Tutorial explaining how to add Google Buzz Count button to WordPress blog.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-twitter-button-count-on-wordpress-blog.html" rel="bookmark">How to add Twitter Button Count on WordPress Blog</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-yahoo-buzz-button-to-wordpress.html" rel="bookmark">How to add Yahoo Buzz button to WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-reddit-button-to-wordpress.html" rel="bookmark">How To Add reddit Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-google-1-button-to-wordpress.html" rel="bookmark">How To Add Google +1 Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-facebook-like-button-to-wordpress.html" rel="bookmark">How To Add Facebook Like Button To WordPress</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>You can skip all my monologue and get the <strong><a
title="Google Buzz Count Button Code for WordPress" href="#code">Google Buzz Count Button Code for WordPress</a></strong> straight away ;)</p><div
id="attachment_886" class="wp-caption alignleft" style="width: 341px"><a
href="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/google-buzz-count-button-wordpress.jpg"><img
class="size-full wp-image-886" title="Google Buzz Count Button For WordPress" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/google-buzz-count-button-wordpress.jpg" alt="Google Buzz Count Button For WordPress" width="331" height="228" /></a><p
class="wp-caption-text">Google Buzz Count Button For WordPress</p></div><p>I&#8217;ve been looking for a simple code allowing me to add Google Buzz count button to WordPress blog but I couldn&#8217;t find one. I did little bit of research and figured it out by myself.</p><p>If you want Google Buzz button for just single page then you can easily get it from <strong><a
title="Google Buzz Buttons" href="http://www.google.com/buzz/stuff" target="_blank">Google Buzz Buttons</a></strong> page.</p><p>However you can&#8217;t use that buzz button code in WordPress blog as that code doesn&#8217;t support dynamic parameters such as url, excerpt etc.</p><p><a
title="Google Buzz API" href="http://code.google.com/apis/buzz/buttons_and_gadgets.html" target="_blank">Google Buzz API</a> provides the solution for adding Buzz count button to WordPress.</p><p>Here is the complete code which you can copy and paste in the single.php file inside the loop.</p><pre class="brush: jscript; title: ; notranslate">
&lt;a href=&quot;http://www.google.com/buzz/post&quot;
  class=&quot;google-buzz-button&quot;
  title=&quot;&lt;?php the_title(); ?&gt;&quot;
  data-url=&quot;&lt;?php the_permalink() ?&gt;&quot;
  data-locale=&quot;en&quot;
  data-button-style=&quot;normal-count&quot;&gt;&lt;/a&gt;
 &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/buzz/api/button.js&quot;&gt;&lt;/script&gt;
</pre><p>The code is straight forward.</p><p>You can see live example of Google Buzz coutn button on this blog itself, scroll up to see the Buzz count button below the post title.</p><p>There is one more parameter <strong>data-message=&#8221; &#8220;</strong>, which you can add in the code. However it is better to leave it empty so that it gives empty box to buzzer to write their own comment.</p><p><strong>To Do</strong></p><p>I&#8217;ve to work out how to attach thumbnail image to the Buzz post.</p><p>Finally managed to get the image url as well. See the code below which is a complete Google Buzz Count Button code for WordPress.</p><p>You can also show the data-message parameter. However you might see &lt;p&gt; &lt;/p&gt; surrounding the excerpt.</p><div
id="attachment_934" class="wp-caption aligncenter" style="width: 602px"><a
href="http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html/attachment/google-buzz-count-button-wordpress-p" rel="attachment wp-att-934"><img
class="size-full wp-image-934" title="Excerpt shows</p><p>" src="http://www.ajaykumarsingh.com/wp-content/uploads/2011/08/google-buzz-count-button-wordpress-p.jpg" alt="Excerpt shows</p><p>" width="592" height="317" /></a><p
class="wp-caption-text">Excerpt shows &lt;p&gt; &lt;/p&gt;</p></div><p>To remove &lt;p&gt; &lt;/p&gt; you can use <em><strong>the_excerpt_rss()</strong></em> function instead of <strong>the_excerpt()</strong>.</p><p>the_excerpt_rss() worked on <a
title="Bollywood" href="http://www.bollywood.lv" target="_blank">Bollywood</a> blog but it didn&#8217;t work on <a
title="Indian Recipes" href="http://www.freeindianrecipes.com" target="_blank">Indian Recipes</a> blog.</p><h2><a
name="code"></a>Code for Google Buzz Count Button for WordPress</h2><pre class="brush: php; title: ; notranslate">
&lt;?php $imgarr = wp_get_attachment_image_src( get_post_thumbnail_id($post-&gt;ID), 'thumbnail' ); $imgurl = $imgarr[0];?&gt;
&lt;a href=&quot;http://www.google.com/buzz/post&quot;
  class=&quot;google-buzz-button&quot;
  title=&quot;&lt;?php the_title(); ?&gt;&quot;
  data-url=&quot;&lt;?php the_permalink() ?&gt;&quot;
  data-message=&quot;&lt;?php the_excerpt_rss() ?&gt;&quot;
  data-imageurl=&quot;&lt;?php echo $imgurl ?&gt; &quot;
  data-locale=&quot;en&quot;
  data-button-style=&quot;normal-count&quot;&gt;&lt;/a&gt;
              &lt;script type=&quot;text/javascript&quot; src=&quot;http://www.google.com/buzz/api/button.js&quot;&gt;&lt;/script&gt;
</pre><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-twitter-button-count-on-wordpress-blog.html" rel="bookmark">How to add Twitter Button Count on WordPress Blog</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-yahoo-buzz-button-to-wordpress.html" rel="bookmark">How to add Yahoo Buzz button to WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-reddit-button-to-wordpress.html" rel="bookmark">How To Add reddit Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-google-1-button-to-wordpress.html" rel="bookmark">How To Add Google +1 Button To WordPress</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/how-to-add-facebook-like-button-to-wordpress.html" rel="bookmark">How To Add Facebook Like Button To WordPress</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/google-buzz-count-button-for-wordpress.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>Security update and 15% off upgrade coupon from WordPress.com</title><link>http://www.ajaykumarsingh.com/wordpress/security-update-and-15-off-upgrade-coupon-from-wordpress-com.html</link> <comments>http://www.ajaykumarsingh.com/wordpress/security-update-and-15-off-upgrade-coupon-from-wordpress-com.html#comments</comments> <pubDate>Sat, 20 Aug 2011 10:51:51 +0000</pubDate> <dc:creator>Ajay</dc:creator> <category><![CDATA[WordPress]]></category> <category><![CDATA[.com]]></category> <category><![CDATA[Password]]></category> <category><![CDATA[Security update and 15% off upgrade coupon from WordPress.com]]></category> <guid
isPermaLink="false">http://www.ajaykumarsingh.com/?p=882</guid> <description><![CDATA[I received this e-mail from WordPress.com and found it to be genuine.<h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/downloading-update-from-httpwordpress-orgwordpress-3-1-2-zip%e2%80%a6.html" rel="bookmark">Downloading update from http://wordpress.org/wordpress-3.1.2.zip…</a></li><li><a
href="http://www.ajaykumarsingh.com/moneybookers/failed-login-attempt-on-your-moneybookers-account.html" rel="bookmark">Failed login attempt on your Moneybookers account</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-send-post-to-a-friend.html" rel="bookmark">WordPress &#8211; Send Post To A Friend</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-how-to-remove-inactive-widgets.html" rel="bookmark">WordPress &#8211; How To Remove Inactive Widgets</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-how-to-limit-number-of-tags-in-tag-cloud.html" rel="bookmark">WordPress &#8211; How To Limit Number of Tags In Tag Cloud</a></li></ol> ]]></description> <content:encoded><![CDATA[<p>I received this e-mail from WordPress today. It seems that hackers have been able to breach WordPress.com security and hence this e-mail.</p><p>At first I thought it was spam so I carefully examined the sender e-mail, sender&#8217;s IP address and the link. All seemed to be genuine.</p><p>Any way just to be on safe side I didn&#8217;t click on the link mentioned in the e-mail but I directly visited WordPress.com and logged in from there. Then from dashboard I changed password. And indeed there was a message saying to change password.</p><p>So if you have received such e-mail from WordPress.com then beter change your password now. An to be on safe side don&#8217;t click on the e-mail but visit WordPress.com login and then change password.</p><p>WordPress.com is offering 15% off on WordPress.com store which I wouldn&#8217;t be using.</p><blockquote><p>Ajay,</p><p>We recently found and fixed a mistake that we’d like to tell you about. Passwords on WordPress.com are saved in a way that makes them extremely secure, such that even our own employees are unable to see your actual password – the one you enter to login to your WordPress.com account. However, between July 2007 and April 2008, and September 2010 and July 2011, a mistake in one of our systems used to find and correct bugs on WordPress.com accidentally logged some users’ passwords in a less secure format during registration.</p><p>We’ve updated our systems to prevent passwords from being logged this way in the future, so this will not happen again. We don’t have any evidence that this data has been accessed maliciously or misused, but to be on the safe side we are resetting your password since your account is among those affected.</p><p>Please change your password using <strong>this link</strong> or copy and paste the URL below into your web browser:</p><p>https://wordpress.com/wp-login.php?action=rp&#038;key=dfdfdsff&#038;login=myusername</p><p>If the password you used when you registered on WordPress.com was one you use elsewhere, you should change it there, too. In the future, remember that it’s good practice to always use unique passwords for different services.</p><p>We are terribly sorry about this mistake. No one likes having to create new passwords and we’d like to include a 15% off coupon to say we’re sorry. The coupon can be used for a custom domain, a design upgrade, VideoPress, or a storage space increase. Just use the code below on any of the upgrades on the WordPress.com Store:</p><p><strong>somecode</strong></p><p>If you have any questions, please reply to this email and one of our Happiness Engineers will get back to you as soon as possible.</p><p>Thank you,<br
/> The WordPress.com Team</p><table><tbody><tr><td
width="80"><img
src="http://s.wordpress.org/about/images/logo-grey/grey-m.png" alt="WordPress" width="64" height="64" border="0" /></td><td><a
href="http://wordpress.com/">WordPress.com</a> | Thanks for flying with WordPress!</td></tr></tbody></table></blockquote><div
style='clear:both'></div><h3>Related Posts</h3><ol><li><a
href="http://www.ajaykumarsingh.com/wordpress/downloading-update-from-httpwordpress-orgwordpress-3-1-2-zip%e2%80%a6.html" rel="bookmark">Downloading update from http://wordpress.org/wordpress-3.1.2.zip…</a></li><li><a
href="http://www.ajaykumarsingh.com/moneybookers/failed-login-attempt-on-your-moneybookers-account.html" rel="bookmark">Failed login attempt on your Moneybookers account</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-send-post-to-a-friend.html" rel="bookmark">WordPress &#8211; Send Post To A Friend</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-how-to-remove-inactive-widgets.html" rel="bookmark">WordPress &#8211; How To Remove Inactive Widgets</a></li><li><a
href="http://www.ajaykumarsingh.com/wordpress/wordpress-how-to-limit-number-of-tags-in-tag-cloud.html" rel="bookmark">WordPress &#8211; How To Limit Number of Tags In Tag Cloud</a></li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaykumarsingh.com/wordpress/security-update-and-15-off-upgrade-coupon-from-wordpress-com.html/feed</wfw:commentRss> <slash:comments>2</slash:comments> </item> </channel> </rss>
