<?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>Smart Pandian &#187; hack</title>
	<atom:link href="http://smartpandian.com/tag/hack/feed/" rel="self" type="application/rss+xml" />
	<link>http://smartpandian.com</link>
	<description>as simple as that...</description>
	<lastBuildDate>Thu, 24 Jun 2010 15:17:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Google Ads &#8211; My First WP Hack</title>
		<link>http://smartpandian.com/google-ads-my-first-wp-hack/</link>
		<comments>http://smartpandian.com/google-ads-my-first-wp-hack/#comments</comments>
		<pubDate>Thu, 09 Apr 2009 15:44:41 +0000</pubDate>
		<dc:creator>Pandian</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[google ad]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[post footer]]></category>

		<guid isPermaLink="false">http://smartpandian.com/?p=222</guid>
		<description><![CDATA[The Objective of this hack to display Google Ads (or) some copyright notice at the bottom of every page of wordpress. Before Jumping into the Hack, There is two other way to acheive the same. Edit the footer.php file in the wordpress theme folder (wp-contents/themes/) to add the Google-ad code.  (The disadvantage of this method [...]


No related posts.]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;style=normal&amp;service=bit.ly&amp;hashtags=google+ad,hack,post+footer,WordPress" height="61" width="50" /><br />
			</a>
		</div>
<p>The Objective of this hack to display Google Ads (or) some copyright notice at the bottom of every page of wordpress.</p>
<p>Before Jumping into the Hack, There is two other way to acheive the same.</p>
<ol>
<li>Edit the footer.php file in the wordpress theme folder (wp-contents/themes/) to add the Google-ad code. <br />
(The disadvantage of this method is that, when you change the theme, you need again edit the footer.php file in the new theme)</li>
<li>Using a wordpress plugin <a href="http://wordpress.org/extend/plugins/add-post-footer/">post footer</a>. By this plugin, one can add  any text/html to the footer of the posts. <br />
(Disadvantage : Plugin Advertisement / unwanted  upgrades)</li>
</ol>
<p>Now, the Hack Script is as follows<br />
Place your google code at the html commented section of code below</p>
<pre class="brush: php; highlight: [4];">
 &lt;?
  function sp_add_page_footer() {
 ?&gt;
 &lt;!--You're text or google Ad goes here--&gt; 
 &lt;?
 }
 add_action('get_footer', 'sp_add_page_footer', 10);
 ?&gt;
</pre>
<p> That&#8217;s it.. copy the code, place it in my-hacks.php which is created at the wordpress root folder.  Voila!! The first wordpress hack
<p><script type="text/javascript"><!--
google_ad_client = "pub-1038786113812434";
/* 468x15, created 9/27/08 */
google_ad_slot = "1338610477";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>




	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;title=Google%20Ads%20-%20My%20First%20WP%20Hack&amp;bodytext=The%20Objective%20of%20this%20hack%20to%20display%20Google%20Ads%20%28or%29%20some%20copyright%20notice%20at%20the%20bottom%20of%20every%20page%20of%20wordpress.%0D%0A%0D%0ABefore%20Jumping%20into%20the%20Hack%2C%20There%20is%20two%20other%20way%20to%20acheive%20the%20same.%0D%0A%0D%0A%09Edit%20the%20footer.php%20file%20in%20the%20wordpress%20theme%20fol" title="Digg"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;title=Google%20Ads%20-%20My%20First%20WP%20Hack&amp;notes=The%20Objective%20of%20this%20hack%20to%20display%20Google%20Ads%20%28or%29%20some%20copyright%20notice%20at%20the%20bottom%20of%20every%20page%20of%20wordpress.%0D%0A%0D%0ABefore%20Jumping%20into%20the%20Hack%2C%20There%20is%20two%20other%20way%20to%20acheive%20the%20same.%0D%0A%0D%0A%09Edit%20the%20footer.php%20file%20in%20the%20wordpress%20theme%20fol" title="del.icio.us"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;t=Google%20Ads%20-%20My%20First%20WP%20Hack" title="Facebook"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;t=Google%20Ads%20-%20My%20First%20WP%20Hack" title="MySpace"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;title=Google%20Ads%20-%20My%20First%20WP%20Hack" title="StumbleUpon"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F" title="Technorati"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Google%20Ads%20-%20My%20First%20WP%20Hack&amp;url=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F" title="Slashdot"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;t=Google%20Ads%20-%20My%20First%20WP%20Hack&opener=bm&amp;ei=UTF-8&amp;d=The%20Objective%20of%20this%20hack%20to%20display%20Google%20Ads%20%28or%29%20some%20copyright%20notice%20at%20the%20bottom%20of%20every%20page%20of%20wordpress.%0D%0A%0D%0ABefore%20Jumping%20into%20the%20Hack%2C%20There%20is%20two%20other%20way%20to%20acheive%20the%20same.%0D%0A%0D%0A%09Edit%20the%20footer.php%20file%20in%20the%20wordpress%20theme%20fol" title="Yahoo! Bookmarks"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fsmartpandian.com%2Fgoogle-ads-my-first-wp-hack%2F&amp;submitHeadline=Google%20Ads%20-%20My%20First%20WP%20Hack&amp;submitSummary=The%20Objective%20of%20this%20hack%20to%20display%20Google%20Ads%20%28or%29%20some%20copyright%20notice%20at%20the%20bottom%20of%20every%20page%20of%20wordpress.%0D%0A%0D%0ABefore%20Jumping%20into%20the%20Hack%2C%20There%20is%20two%20other%20way%20to%20acheive%20the%20same.%0D%0A%0D%0A%09Edit%20the%20footer.php%20file%20in%20the%20wordpress%20theme%20fol&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://smartpandian.com/google-ads-my-first-wp-hack/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.3</title>
		<link>http://smartpandian.com/wordpress-23/</link>
		<comments>http://smartpandian.com/wordpress-23/#comments</comments>
		<pubDate>Tue, 02 Oct 2007 12:21:48 +0000</pubDate>
		<dc:creator>Pandian</dc:creator>
				<category><![CDATA[Softwares]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[update]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://smartpandian.awardspace.com/?p=64</guid>
		<description><![CDATA[Finally, Today, I find time to upgrade this site to WordPress 2.3 which was released a week back (september 25). In this release, WordPress has included Tags Support. i.e, Now the user can add tags to the blogs. For me, Categories and tags for a blog more or less the same. The difference is that [...]


Related posts:<ol><li><a href='http://smartpandian.com/wordpress-2-8-3/' rel='bookmark' title='Permanent Link: WordPress 2.8.3'>WordPress 2.8.3</a> <small>somebody help me.. frm updates.....</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;style=normal&amp;service=bit.ly&amp;hashtags=hack,update,WordPress" height="61" width="50" /><br />
			</a>
		</div>
<p>Finally, Today, I find time to upgrade <a href="http://smartpandian.com/" title="smartpandian">this site</a> to <a href="http://wordpress.org/download/" title="WordPress Download">WordPress 2.3</a> which was released a week back (september 25).</p>
<p>In this release, WordPress has included Tags Support. i.e, Now the user can add tags to the blogs.</p>
<p>For me, Categories and tags for a blog more or less the same. The difference is that tag cloud(look at the first box in right most column). The characters in the Tag cloud appears bigger as per the no. of posts have that tag. while, categories (look at the one below tag cloud), its just a list.</p>
<p>When I was browsing,  I find tag cloud was not much helpful.  May be in future, I might be able to appreciate its purpose.</p>
<p>As days goes by, wordpress comes up with more and more functionality and now with a threat to privacy. Slashdot has reported that wordpress <a href="http://yro.slashdot.org/yro/07/09/25/1632246.shtml" title="Slash dot link">spying on users</a>. So , there is not much difference between blogger &amp; wordpress but still, in wordpress, the owner can remove the unwanted code.</p>
<p>After the immediate opposition from the users, WordPress has released a plugin that disables the functionality,</p>
<p>http://wordpress.org/extend/plugins/disable-wordpress-core-update/</p>
<p>http://wordpress.org/extend/plugins/disable-wordpress-plugin-updates/</p>
<p>/* From.. http://groups.google.com/group/wp-hackers  */</p>
<blockquote><p>But I find the best way, is to remove the code than installing another plugin.<br />
Following are the lines that needs to be removed from the code for this fix.</p>
<p>in wp-includes/update.php , remove line 52..</p>
<blockquote><p><i>add_action( &#8216;init&#8217;, &#8216;wp_version_check&#8217; );</i></p></blockquote>
<p>in wp-admin/include/update.php , remove line 106..</p>
<blockquote><p><i>add_action( &#8216;load-plugins.php&#8217;, &#8216;wp_update_plugins&#8217; ); </i></p></blockquote>
</blockquote>
<p>The another common issue is that every time, an admin user log into wordpress. The package was designed to make a call to WordPress development blog and Planet News feeds. To remove this annoying blog feeds,</p>
<blockquote><p>In wp-admin folder, open index.php..<br />
Remove the following lines<br />
In line 3 to 15</p>
<blockquote><address>function index_js() {</address>
<address> ?&gt;</address>
<address> &lt;script type=&#8221;text/javascript&#8221;&gt;</address>
<address>     jQuery(function() {</address>
<address>         jQuery(&#8216;#incominglinks&#8217;).load(&#8216;index-extra.php?jax=incominglinks&#8217;);</address>
<address>         jQuery(&#8216;#devnews&#8217;).load(&#8216;index-extra.php?jax=devnews&#8217;);</address>
<address>         jQuery(&#8216;#planetnews&#8217;).load(&#8216;index-extra.php?jax=planetnews&#8217;);</address>
<address>     });</address>
<address> &lt;/script&gt;</address>
<address> &lt;?php</address>
<address> }</address>
<address> add_action( &#8216;admin_head&#8217;, &#8216;index_js&#8217; );<br />
</address>
</blockquote>
<p>Line 133 to 137</p>
<p>&lt;div id=&#8221;devnews&#8221;&gt;&lt;/div&gt;</p>
<address> &lt;div id=&#8221;planetnews&#8221;&gt;&lt;/div&gt;<br />
</address>
</blockquote>
<blockquote></blockquote>
<p>That&#8217;s it with WordPress 2.3..</p>




	<a rel="nofollow"  target="_blank" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;title=Wordpress%202.3&amp;bodytext=Finally%2C%20Today%2C%20I%20find%20time%20to%20upgrade%20this%20site%20to%20Wordpress%202.3%20which%20was%20released%20a%20week%20back%20%28september%2025%29.%0D%0A%0D%0AIn%20this%20release%2C%20Wordpress%20has%20included%20Tags%20Support.%20i.e%2C%20Now%20the%20user%20can%20add%20tags%20to%20the%20blogs.%0D%0A%0D%0AFor%20me%2C%20Categories%20and%20tags%20for%20" title="Digg"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://delicious.com/post?url=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;title=Wordpress%202.3&amp;notes=Finally%2C%20Today%2C%20I%20find%20time%20to%20upgrade%20this%20site%20to%20Wordpress%202.3%20which%20was%20released%20a%20week%20back%20%28september%2025%29.%0D%0A%0D%0AIn%20this%20release%2C%20Wordpress%20has%20included%20Tags%20Support.%20i.e%2C%20Now%20the%20user%20can%20add%20tags%20to%20the%20blogs.%0D%0A%0D%0AFor%20me%2C%20Categories%20and%20tags%20for%20" title="del.icio.us"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;t=Wordpress%202.3" title="Facebook"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.myspace.com/Modules/PostTo/Pages/?u=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;t=Wordpress%202.3" title="MySpace"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/myspace.png" title="MySpace" alt="MySpace" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;title=Wordpress%202.3" title="StumbleUpon"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://technorati.com/faves?add=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F" title="Technorati"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/technorati.png" title="Technorati" alt="Technorati" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://slashdot.org/bookmark.pl?title=Wordpress%202.3&amp;url=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F" title="Slashdot"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/slashdot.png" title="Slashdot" alt="Slashdot" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://bookmarks.yahoo.com/toolbar/savebm?u=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;t=Wordpress%202.3&opener=bm&amp;ei=UTF-8&amp;d=Finally%2C%20Today%2C%20I%20find%20time%20to%20upgrade%20this%20site%20to%20Wordpress%202.3%20which%20was%20released%20a%20week%20back%20%28september%2025%29.%0D%0A%0D%0AIn%20this%20release%2C%20Wordpress%20has%20included%20Tags%20Support.%20i.e%2C%20Now%20the%20user%20can%20add%20tags%20to%20the%20blogs.%0D%0A%0D%0AFor%20me%2C%20Categories%20and%20tags%20for%20" title="Yahoo! Bookmarks"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/yahoomyweb.png" title="Yahoo! Bookmarks" alt="Yahoo! Bookmarks" class="sociable-hovers" /></a>
	<a rel="nofollow"  target="_blank" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fsmartpandian.com%2Fwordpress-23%2F&amp;submitHeadline=Wordpress%202.3&amp;submitSummary=Finally%2C%20Today%2C%20I%20find%20time%20to%20upgrade%20this%20site%20to%20Wordpress%202.3%20which%20was%20released%20a%20week%20back%20%28september%2025%29.%0D%0A%0D%0AIn%20this%20release%2C%20Wordpress%20has%20included%20Tags%20Support.%20i.e%2C%20Now%20the%20user%20can%20add%20tags%20to%20the%20blogs.%0D%0A%0D%0AFor%20me%2C%20Categories%20and%20tags%20for%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://smartpandian.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a>


<br/><br/>

<p>Related posts:<ol><li><a href='http://smartpandian.com/wordpress-2-8-3/' rel='bookmark' title='Permanent Link: WordPress 2.8.3'>WordPress 2.8.3</a> <small>somebody help me.. frm updates.....</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://smartpandian.com/wordpress-23/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
