<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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/" version="2.0">

<channel>
	<title>WordPress HacksWordPress Hacks | WordPress Hacks</title>
	
	<link>http://wphacks.ahyen.com</link>
	<description>Just another WordPress site</description>
	<lastBuildDate>Fri, 18 Feb 2011 01:45:50 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/wphacksandmore" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="wphacksandmore" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Insert Google Adsense™ Code into WordPress Post Without Plugins</title>
		<link>http://wphacks.ahyen.com/insert-google-adsense-code-into-wordpress-post-without-plugins/</link>
		<comments>http://wphacks.ahyen.com/insert-google-adsense-code-into-wordpress-post-without-plugins/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 07:52:22 +0000</pubDate>
		<dc:creator>ahyen</dc:creator>
				<category><![CDATA[Adsense]]></category>

		<guid isPermaLink="false">http://wphacks.ahyen.com/?p=4</guid>
		<description><![CDATA[I&#8217;m pretty sure there are millions of you out there who are currently using some sort of plugin to insert Google Adsense code into your post content. Well I&#8217;m telling you know that you don&#8217;t need to depend on plugins for that especially since plugins have their disadvantages. So here&#8217;s the low down on how to add Google Adsense code to you WordPress posts without using plugins! BONUS:This post also teaches you how to wrap your content around the Google Adsense ad! Adding Google Adsense™ Before Your Content Open up the index.php file in the WordPress theme editor and locate this line of code. &#60;?php the_content('Read the rest of this entry &#38;raquo;'); ?&#62; This calls out to your post content so right above it, add your Google Adsense code like below. By the way this location is one of the best spots for content ads! &#60;script type=&#34;text/javascript&#34;&#62;&#60;!-- google_ad_client = &#34;pub-XXXXX&#34;; google_ad_slot = &#34;XXXXX&#34;; google_ad_width = 336; google_ad_height = 280; //--&#62; &#60;/script&#62; &#60;script type=&#34;text/javascript&#34; src=&#34;http://pagead2.googlesyndication.com/pagead/show_ads.js&#34;&#62; &#60;/script&#62; &#60;?php the_content('Read the rest of this entry &#38;raquo;'); ?&#62; The end result of the code is an Adsense ad inserted into your post but&#8230;OH NO!!! The text does not wrap! This is where most people [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m pretty sure there are millions of you out there who are currently using some sort of plugin to insert Google Adsense code into your post content. Well I&#8217;m telling you know that you don&#8217;t need to depend on plugins for that especially since <a title="WordPress Plugins – The Pros And Cons Of Installing Them On Your WordPress Blog" href="http://ahyen.com/wordpress/wordpress-plugins-the-pros-and-cons-of-installing-them-on-your-wordpress-blog/" target="_self">plugins have their disadvantages</a>. So here&#8217;s the low down on how to add Google Adsense code to you WordPress posts without using plugins! <strong>BONUS:This post also teaches you how to wrap your content around the Google Adsense ad!</strong></p>
<p><a href="http://ahyen.com/wp-content/uploads/2011/01/AdvAdsense.jpg"><img class="aligncenter size-full wp-image-2633" title="Picture of Google Adsense" src="http://ahyen.com/wp-content/uploads/2011/01/AdvAdsense.jpg" alt="Picture of Google Adsense" width="400" height="400" /></a></p>
<p><span id="more-4"></span></p>
<h3>Adding Google Adsense™ Before Your Content</h3>
<p>Open up the <strong>index.php</strong> file in the WordPress theme editor and locate this line of code.</p>
<pre class="brush: php; title: ;">&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;</pre>
<p>This calls out to your post content so right above it, add your Google Adsense code like below. By the way this location is <strong>one of the best spots for content ads!</strong></p>
<pre class="brush: php; title: ;">&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-XXXXX&quot;;
google_ad_slot = &quot;XXXXX&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;

&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;</pre>
<p>The end result of the code is an Adsense ad inserted into your post but&#8230;OH NO!!! The text does not wrap! This is where most people get frustrated and end up getting a plugin to finish the job. Don&#8217;t despair! The solution is at the end of this post.</p>
<div id="attachment_2640" class="wp-caption aligncenter" style="width: 310px"><img class="size-medium wp-image-2640" title="Picture of Google Adsense ad unit without text wrap" src="http://ahyen.com/wp-content/uploads/2011/01/Adsense_without_wrap-300x278.jpg" alt="Picture of Google Adsense ad unit without text wrap" width="300" height="278" /><p class="wp-caption-text">For a more efficient Google Adsense ad unit, tight integration is recommended. Leaving a gap right next to the ad unit however, is not.</p></div>
<h3>What About Putting the Ad Unit at the End of the Content?</h3>
<p>Same goes with putting your ad at the end of your content. Just put the ad code right <strong>after</strong> the function <strong>the_content</strong> like so.</p>
<pre class="brush: php; title: ;">&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;

&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-XXXXX&quot;;
google_ad_slot = &quot;XXXXX&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
</pre>
<h3>Wrapping the Ad Unit with Your Lovely Content</h3>
<p>So how do we make it wrap? That&#8217;s easy. Just wrap the code with a <strong>div</strong> with the CSS <strong>float:left;</strong>. Here&#8217;s the finished code. Notice that I added a <strong>div</strong> called <em>googleads</em> to the code along with the complimenting CSS.</p>
<pre class="brush: php; title: ;">&lt;div id=&quot;googleads&quot;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-XXXXX&quot;;
google_ad_slot = &quot;XXXXX&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
&lt;/div&gt;

&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;</pre>
<pre class="brush: php; title: ;">#googleads {
        width: 336px;
        padding: 0px;
        margin: 25px 10px 0px 0px;
        float: left;
}</pre>
<p>An alternative without adding any extra CSS would be something like this.</p>
<pre class="brush: php; title: ;">&lt;span style=&quot;width: 336px;padding: 0px;margin: 25px 10px 0px 0px;float: left;&gt;
&lt;script type=&quot;text/javascript&quot;&gt;&lt;!--
google_ad_client = &quot;pub-XXXXX&quot;;
google_ad_slot = &quot;XXXXX&quot;;
google_ad_width = 336;
google_ad_height = 280;
//--&gt;
&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot;
src=&quot;http://pagead2.googlesyndication.com/pagead/show_ads.js&quot;&gt;
&lt;/script&gt;
&lt;/span&gt;

&lt;?php the_content('Read the rest of this entry &amp;raquo;'); ?&gt;</pre>
<p>The end result.</p>
<div id="attachment_2657" class="wp-caption aligncenter" style="width: 310px"><a href="http://ahyen.com/wp-content/uploads/2011/01/adsense_with_wrap.jpg"><img class="size-medium wp-image-2657" title="Picture of Google Adsense ad unit with text wrap" src="http://ahyen.com/wp-content/uploads/2011/01/adsense_with_wrap-300x224.jpg" alt="Picture of Google Adsense ad unit with text wrap" width="300" height="224" /></a><p class="wp-caption-text">Having the content wrapped around the ad unit makes for a higher clickthrough rate especially for text only ads.</p></div>
<p>That&#8217;s it! Happy coding!</p>
]]></content:encoded>
			<wfw:commentRss>http://wphacks.ahyen.com/insert-google-adsense-code-into-wordpress-post-without-plugins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Making Your WordPress Blog Mobile Friendly With Just A Few Mouse Clicks</title>
		<link>http://wphacks.ahyen.com/making-your-wordpress-blog-mobile-friendly-with-just-a-few-mouse-clicks/</link>
		<comments>http://wphacks.ahyen.com/making-your-wordpress-blog-mobile-friendly-with-just-a-few-mouse-clicks/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 07:57:30 +0000</pubDate>
		<dc:creator>ahyen</dc:creator>
				<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://wphacks.ahyen.com/?p=11</guid>
		<description><![CDATA[Nowadays there is a growing trend in surfing the web using your mobile phone. This newfound trend is thanks to the more affordable data packages from the local telecommunication giants namely Digi, Maxis and Celcom. With more people connected through mobile, your website or blog should at least be mobile compatible to keep your readers up to date. One of the ways to do it is to create a m.yoursite.com subdomain and create a mirror of your site which has been optimized for mobile browsers. That was the old school way and takes up too much time and luckily for us WordPress users we can do it the quick and easy way. Read on to find out how. Advantages Of Going Mobile-Friendly Faster loading time You wouldn&#8217;t want your readers to wait for almost a whole minute for their Opera Mini browser to load your full homepage. No one likes to wait that long for content. Unless your WordPress site is used to serve high quality graphics, then I suggest you go mobile friendly today. Forget that, do it NOW! The Traditional Way If you have noticed many sites have added their share of the mobile domain and it is more [...]]]></description>
			<content:encoded><![CDATA[<p>Nowadays there is a growing trend in surfing the web using your mobile phone. This newfound trend is thanks to the more affordable data packages from the local telecommunication giants namely Digi, Maxis and Celcom. With more people connected through mobile, your website or blog should at least be mobile compatible to keep your readers up to date. One of the ways to do it is to create a <em>m.yoursite.com</em> subdomain and create a mirror of your site which has been optimized for mobile browsers. That was the old school way and takes up too much time and luckily for us WordPress users we can do it the quick and easy way. Read on to find out how.</p>
<p><a href="http://ahyen.com/wp-content/uploads/2010/06/mobile.jpg"><img class="aligncenter size-full wp-image-2683" title="Picture of Mobile Phones and PDAs" src="http://ahyen.com/wp-content/uploads/2010/06/mobile.jpg" alt="Picture of Mobile Phones and PDAs" width="560" height="230" /></a><span id="more-11"></span></p>
<h3>Advantages Of Going Mobile-Friendly</h3>
<h4>Faster loading time</h4>
<p>You wouldn&#8217;t want your readers to wait for almost a whole minute for their Opera Mini browser to load your full homepage. No one likes to wait that long for content. Unless your WordPress site is used to serve high quality graphics, then I suggest you go mobile friendly today. Forget that, do it NOW!</p>
<h4>The Traditional Way</h4>
<p>If you have noticed many sites have added their share of the mobile domain and it is more commonly seen as <em>m.yoursite.com</em>. They would have to edit their <em>.htaccess</em> file and order a re-route to send the reader to the <em>m.yoursite.com</em> site if the user agent of a mobile web browser is detected. Prior to that the site owners would have to re-design their site and streamline it for mobile content. Would you want to do ALL that?</p>
<h3>Your Available Options</h3>
<p>As a WordPress user, you would be pleased to know that there is a plugin &#8211; in fact two! &#8211; that can be used to instantly make your WordPress site mobile friendly. Both versions come free and also there is an option to go pro with a small fee.</p>
<h4>WordPress Mobile Edition</h4>
<p>The first is <a id="aptureLink_wtuG6RhWoN" href="http://alexking.org/blog/2009/03/25/wordpress-mobile-edition-30">WordPress Mobile Edition by Alex King</a> which is built based on the Carrington theme. Simple and direct, it has minimalistic design and features, delivering content in its gist.</p>
<h4>WPtouch iPhone Theme</h4>
<p>Your second option would be the <a id="aptureLink_fAvW3vyoXT" href="http://www.bravenewcode.com/products/wptouch-pro/">WPtouch iPhone Theme by BraveNewCode</a>. The WPtouch iPhone Theme is designed specifically with the iPhone in mind so needless to say your site will look fantastic on an iPhone.</p>
<h3>Which Should You Pick?</h3>
<p>Well I don&#8217;t have an iPhone to perform any comparisons but this is what I can show you from my Nokia 5800 Xpress Music.</p>
<div id="attachment_1703" class="wp-caption aligncenter" style="width: 370px"><a href="http://ahyen.com/wp-content/uploads/2010/04/Scr000001.jpg"><img title="Scr000001" src="http://ahyen.com/wp-content/uploads/2010/04/Scr000001.jpg" alt="Screenshot of ahyen.com on WordPress Mobile Edition with Carrington Mobile Theme" width="360" height="640" /></a><p class="wp-caption-text">Screenshot of ahyen.com on WordPress Mobile Edition</p></div>
<div id="attachment_1702" class="wp-caption aligncenter" style="width: 370px"><a href="http://ahyen.com/wp-content/uploads/2010/04/Scr000004.jpg"><img title="Scr000004" src="http://ahyen.com/wp-content/uploads/2010/04/Scr000004.jpg" alt="Screenshot of ahyen.com on WPtouch iPhone Theme" width="360" height="640" /></a><p class="wp-caption-text">Screenshot of ahyen.com on WPtouch iPhone Theme</p></div>
<p>Sorry for not going full screen on the WPtouch iPhone Theme but you can see for yourself that the WordPress Mobile Edition has much better rendering of the page than WPtouch. I&#8217;ll try to get more screenshots on different phones for more comparison. If you are using a mobile phone other than the Nokia 5800 Express Music, do me a favor and send me a screenshot of my site.</p>
<p>The WordPress Mobile Edition plugin gives you better rendering and caters for a wider audience. Having a simplified interface gives less room for error.</p>
<p>The WPtouch iPhone Theme plugin on the other hand is better eye candy when viewed through an iPhone because it is designed to work with the iPhone. This means that other mobile readers will have sub-par surfing experience at your site.</p>
<h3>Verdict</h3>
<p>If you really want to cater for the masses then go ahead and install the WordPress Mobile Edition plugin as it will give you less rendering problems. But then again most of the Internet savvy and fast moving generation opt for the iPhone as their preferred mobile device when surfing the web on the go. Hmm&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://wphacks.ahyen.com/making-your-wordpress-blog-mobile-friendly-with-just-a-few-mouse-clicks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Solving Your WordPress Blog Feed Error – Removal Of White Spaces In Your Feed</title>
		<link>http://wphacks.ahyen.com/solving-your-wordpress-blog-feed-error-removal-of-white-spaces-in-your-feed/</link>
		<comments>http://wphacks.ahyen.com/solving-your-wordpress-blog-feed-error-removal-of-white-spaces-in-your-feed/#comments</comments>
		<pubDate>Wed, 05 May 2010 07:59:56 +0000</pubDate>
		<dc:creator>ahyen</dc:creator>
				<category><![CDATA[Feeds]]></category>

		<guid isPermaLink="false">http://wphacks.ahyen.com/?p=15</guid>
		<description><![CDATA[After installing new versions of WordPress or some new plugins, it is common to experience an error in your WordPress feed rendering your feed totally useless. The common error message returned when your WordPress feed is queried is XML Parsing Error: XML or text declaration allowed only at the start of the entity. What this usually means is that there is a white space or unwanted characters before the &#60; character in your feed XML. Generally uninstalling the plugin or WordPress and reinstalling them would solve the problem but what if you did all that and you still have the error? This would mean that your readers will not be able to access your content through your feeds be it RSS or E-mail so this is how to solve it. Open up the file feed-rss2.php in your wp-includes folder and look for the code below. header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true); $more = 1; Immediately after this code, paste this lump of code after. $out = ob_get_contents(); $out = str_replace(array('\n', '\r', '\t', ' '), '', $input); ob_end_clean(); Then save this file and apply the same to the other feed files which you use i.e. feed-rss2-comments.php, feed-rss.php, feed-rdf.php, feed-atom.php, feed-atom-comments.php.That should [...]]]></description>
			<content:encoded><![CDATA[<p>After installing new versions of WordPress or some new plugins, it is common to experience an error in your WordPress feed rendering your feed totally useless. The common error message returned when your WordPress feed is queried is <em><span style="color: #ff0000;">XML Parsing Error: XML or text declaration allowed only at the start of the entity</span></em>. What this usually means is that there is a white space or unwanted characters before the &lt; character in your feed XML.<span id="more-15"></span></p>
<p>Generally uninstalling the plugin or WordPress and reinstalling them would solve the problem but what if you did all that and you still have the error? This would mean that your readers will not be able to access your content through your feeds be it RSS or E-mail so this is how to solve it.</p>
<p>Open up the file <strong>feed-rss2.php</strong> in your <strong>wp-includes</strong> folder and look for the code below.</p>
<pre class="brush: php; title: ;">header('Content-Type: text/xml; charset=' . get_option('blog_charset'), true);
$more = 1;</pre>
<p>Immediately after this code, paste this lump of code after.</p>
<pre class="brush: php; title: ;">$out = ob_get_contents();
$out = str_replace(array('\n', '\r', '\t', ' '), '', $input);
ob_end_clean();</pre>
<p>Then save this file and apply the same to the other feed files which you use i.e. <strong>feed-rss2-comments.php</strong>, <strong>feed-rss.php</strong>, <strong>feed-rdf.php</strong>, <strong>feed-atom.php</strong>, <strong>feed-atom-comments.php</strong>.That should solve your white spaces problems.</p>
<h3>Preventive Steps</h3>
<p>Here&#8217;s a few tips on preventing this incident from happening in the first place.</p>
<h4>1 &#8211; Install WordPress properly by following all the steps.</h4>
<p>Yes you should follow each and every step when you install WordPress or their plugins for that matter. Following <a href="http://codex.wordpress.org/Upgrading_WordPress_Extended">the WordPress upgrade guidelines</a> will ensure that you have a clean transition over to the newer versions of WordPress and plugins.</p>
<h4>2 &#8211; Use a text editor which can remove the Byte Order Mark (BOM) from your files whenever you edit your files.</h4>
<p>Downloading your files and editing them in the Windows Notepad program will introduce a <a href="http://en.wikipedia.org/wiki/Byte%20order%20mark">BOM</a> into your files and will return errors when validating your site or feed. Use software like <a href="http://notepad-plus.sourceforge.net/">Notepad++</a> to edit your files if you downloaded them and plan to edit them using Notepad.</p>
<h4>3 &#8211; Check for validation regularly</h4>
<p>Anytime you introduce something new, go get your site validated. It is a healthy practice to regularly check your site with the <a href="http://validator.w3.org/">W3C Markup Validator</a> and your feed with the <a href="http://validator.w3.org/feed/">W3C Feed Validation Service</a> to detect errors in your page. This will make sure you get to the problem first before your readers do.</p>
<p><strong>Reference:</strong> <a href="http://www.w3it.org/blog/wordpress-feed-error-output-solution-how-to/"><em>w3it.org</em></a><em> </em></p>
]]></content:encoded>
			<wfw:commentRss>http://wphacks.ahyen.com/solving-your-wordpress-blog-feed-error-removal-of-white-spaces-in-your-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Plugins – The Pros And Cons Of Installing Them On Your WordPress Blog</title>
		<link>http://wphacks.ahyen.com/wordpress-plugins-the-pros-and-cons-of-installing-them-on-your-wordpress-blog/</link>
		<comments>http://wphacks.ahyen.com/wordpress-plugins-the-pros-and-cons-of-installing-them-on-your-wordpress-blog/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 08:01:40 +0000</pubDate>
		<dc:creator>ahyen</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://wphacks.ahyen.com/?p=17</guid>
		<description><![CDATA[WordPress plugins are a blessing for WordPress blogs. Like how the iPhone applications are to the iPhone or how the Andriod applications are to the Andriod platform, plugins compliment and improve your blog making it feature-rich and maximizes its potential. However there are several pros and contras of using WordPress plugins which need to be considered up front. Advantages Of Using WordPress Plugins 1. WordPress plugins enhances content Plugins like Thumbnails for Excerpt does what it says, adds thumbnails to your excerpts by calling to the first image in the post. WP-Syntax enables developers to publish codes on their sites with pretty highlights and scroll bars. Simple Pull Quote lets you create pull quotes from your main body text and display it where ever you prefer. All these plugins enhances the content on your blog if you know how to use them wisely. 2. WordPress plugins enables Search Engine Optimization Every blogger out there wants their stuff to come up first in Google or Yahoo searches. Installing plugins like All-in-one SEO, Google XML Sitemaps and Yoast Breadcrumbs provides your blog with the basic requirements for Google and Yahoo to crawl, index and rank your blog with others in the same [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress plugins are a blessing for WordPress blogs. Like how the iPhone applications are to the iPhone or how the Andriod applications are to the Andriod platform, plugins compliment and improve your blog making it feature-rich and maximizes its potential. However there are several pros and contras of using WordPress plugins which need to be considered up front.</p>
<p><span id="more-17"></span></p>
<h3>Advantages Of Using WordPress Plugins</h3>
<h4>1. WordPress plugins enhances content</h4>
<p>Plugins like <strong>Thumbnails for Excerpt</strong> does what it says, adds thumbnails to your excerpts by calling to the first image in the post. <strong>WP-Syntax</strong> enables developers to publish codes on their sites with pretty highlights and scroll bars. <strong>Simple Pull Quote</strong> lets you create pull quotes from your main body text and display it where ever you prefer. All these plugins enhances the content on your blog if you know how to use them wisely.</p>
<h4>2. WordPress plugins enables Search Engine Optimization</h4>
<p>Every blogger out there wants their stuff to come up first in Google or Yahoo searches. Installing plugins like <strong>All-in-one SEO</strong>, <strong>Google XML Sitemaps</strong> and <strong>Yoast Breadcrumbs</strong> provides your blog with the basic requirements for Google and Yahoo to crawl, index and rank your blog with others in the same category.</p>
<h4>3. WordPress plugins extends features</h4>
<p>Whether you want to host a competition or setup an e-commerce site, WordPress plugins can do that with a click of the <em>Activate</em> button. Plugins like <strong>WP e-Commerce</strong> provides a shopping cart application for your customers to pick stuff off your shelf and purchase them on your site, instantly transforming your site from a money-pit to an instant cash flow generator.</p>
<h4>4. WordPress plugins introduces connectivity</h4>
<p>There are vast plugins in the WordPress database which provide connectivity to Twitter, Facebook and many other social networking sites. Mobile plugins like <strong>WPtouch</strong> enables your site to be connected to the world of mobile Internet. These plugins serve as an extension arm to increase your site&#8217;s reach, promote your site and expand your reader base.</p>
<h4>5. WordPress plugins reduces development time</h4>
<p>The real power of WordPress plugins is to add in all of the above functions without having you to painstakingly hard-code them into your blog. All you have to do is download the plugin, install and activate it. Its that simple and just takes a few seconds. Thats the beauty of WordPress and its plugins. No hassle, no mess and you get a feature-rich world-class WordPress blog.</p>
<h3>Disadvantages Of Using WordPress Plugins</h3>
<h4>1. WordPress plugins increases page load time</h4>
<p>Plugins with rich images like <strong>SexyBookmarks</strong> and comments plugins which pull information from a separate database like <strong>IntenseDebate Comments</strong> slows down your page. According to the <a id="aptureLink_p1L1HYE0GA" href="http://googleblog.blogspot.com/2009/06/lets-make-web-faster.html">latest Google ranking standards</a>, a page which takes longer to load will be ranked lower than one which loads faster.</p>
<h4>2. WordPress plugins promotes other brands which are not yours</h4>
<p>Some of the more popular free plugins come together with automatic branding. You install the plugin activate it and smile with glee as your page loads, only to find an annoying colored logo messing up your theme. There are some plugins who give you the option of not showing their logo i.e. <strong>Yet Another Related Post Plugin</strong> but what about those who don&#8217;t? Well you get what you pay for and if you didn&#8217;t pay for anything, I guess you&#8217;ll just have to promote then.</p>
<h4>3. WordPress plugins introduce security issues</h4>
<p>You cannot guarantee what that plugin you have just installed contains. Yes it gets the job done but you cannot be sure if you have just installed a Trojan or a backdoor malware into your WordPress blog. You can feel safe about the more popular plugins but what about those which are not? By clicking <em>Activate</em> your are indirectly signing away the security of your WordPress blog.</p>
<h4>4. WordPress Plugins introduce compatibility issues</h4>
<p>Did you notice that WordPress always urge you to backup your database every time you install a new plugin? Have you experienced a newly installed plugin messing up all your themes with you having to retweak them? Sometimes a new upgrade to an existing plugin will not function properly causing downtime. I personally have experienced new plugins creating problems in my feeds. Now there is even a tool at the plugin installation window which tests the compatibility of the plugin before you choose to download it. New features = new problems especially if the feature is not introduced by WordPress themselves.</p>
<h3>Verdict</h3>
<p>Plugins should be used sparingly and with caution. If you can do without them by all means go ahead but if you don&#8217;t have a choice then make sure you read up on the plugin and the reviews from other users.</p>
<p>So what is it gonna be? Will you use plugins on your WordPress blog? Or would you hard-code all the features you want into your blog yourself? The choice is yours. As for me I&#8217;m gonna make do with plugins until I can figure out the coding myself <img src='http://wphacks.ahyen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://wphacks.ahyen.com/wordpress-plugins-the-pros-and-cons-of-installing-them-on-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Extra Sidebars To Your WordPress Blog For More Real Estate</title>
		<link>http://wphacks.ahyen.com/adding-extra-sidebars-to-your-wordpress-blog-for-more-real-estate/</link>
		<comments>http://wphacks.ahyen.com/adding-extra-sidebars-to-your-wordpress-blog-for-more-real-estate/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 08:05:10 +0000</pubDate>
		<dc:creator>ahyen</dc:creator>
				<category><![CDATA[Sidebars]]></category>

		<guid isPermaLink="false">http://wphacks.ahyen.com/?p=23</guid>
		<description><![CDATA[One fine day you feel that you want to display more information on your WordPress blog and finally decide to have another sidebar. But the WordPress theme you picked is non-customizable and supports only one measly sidebar. So what do you do? You don&#8217;t want to change themes as you&#8217;ve grown attached to it. So here&#8217;s what you COULD do &#8211; add another one yourself This is a simple trick I picked up from some other themes. I was scratching my head too on how to add more sidebars to my WordPress blog. So I decided to reference other themes and try out some of the code myself. Tools You Will Need One PC or laptop connected to the Internet One WordPress blog which needs expansion One strong will to face frustration if the code does not work Adding The Files 1 &#8211;  Open up your functions.php and locate the string with the code looking like this if (function_exists('register_sidebar')) { register_sidebar(array('name' =&#62; 'Sidebar')); } 2 &#8211; Add this code to the string if (get_option('uwc_site_sidebars') == '2') { register_sidebar(array('name' =&#62; 'Sidebar Two')); and it should looks like this. if (function_exists('register_sidebar')) { register_sidebar(array('name' =&#62; 'Sidebar One')); if (get_option('uwc_site_sidebars') == '2') { register_sidebar(array('name' =&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>One fine day you feel that you want to display more information on your WordPress blog and finally decide to have another sidebar. But the WordPress theme you picked is non-customizable and supports only one measly sidebar. So what do you do? You don&#8217;t want to change themes as you&#8217;ve grown attached to it. So here&#8217;s what you COULD do &#8211; add another one yourself <img src='http://wphacks.ahyen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> <span id="more-23"></span><br />
This is a simple trick I picked up from some other themes. I was scratching my head too on how to add more sidebars to my WordPress blog. So I decided to reference other themes and try out some of the code myself.</p>
<h3>Tools You Will Need</h3>
<ul>
<li>One PC or laptop connected to the Internet</li>
<li>One WordPress blog which needs expansion</li>
<li>One strong will to face frustration if the code does not work</li>
</ul>
<h3>Adding The Files</h3>
<p>1 &#8211;  Open up your <strong>functions.php</strong> and locate the string with the code looking like this</p>
<pre class="brush: php; title: ;">if (function_exists('register_sidebar')) {
          register_sidebar(array('name' =&gt; 'Sidebar'));
}</pre>
<p>2 &#8211; Add this code to the string</p>
<pre class="brush: php; title: ;">if (get_option('uwc_site_sidebars') == '2') {
          register_sidebar(array('name' =&gt; 'Sidebar Two'));
</pre>
<p>and it should looks like this.</p>
<pre class="brush: php; title: ;">if (function_exists('register_sidebar')) {
          register_sidebar(array('name' =&gt; 'Sidebar One'));
if (get_option('uwc_site_sidebars') == '2') {
          register_sidebar(array('name' =&gt; 'Sidebar Two'));
}</pre>
<p>3 &#8211; Create a file <strong>sidebar2.php</strong> and paste the following code, save the file and upload the <strong>sidebar2.php</strong> to your WordPress themes folder.</p>
<pre class="brush: php; title: ;">&lt; ?php /* Widgetized sidebar */ if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('Sidebar Two') ) :else: ?&gt;
&lt; ?php wp_list_pages(); ?&gt;
&lt; ?php endif; ?&gt;</pre>
<h3 ">Adding The Styles</h3>
<p>Now if you apply the changes you probably would see the new sidebar appearing in your Widgets menu. Drag some widgets into it and preview your site. The new sidebar should appear now somewhere on your site but with no styles.</p>
<p>Go to your <strong>stylesheet.css</strong> file and look for your sidebar style. As for me it was <strong>#sidebar</strong>. You can use the Google Chrome Inspect Element function to help you locate the name of the style.  If you noticed in the <strong>sidebar2.php</strong> file you created, in Line 2 the style for the second sidebar <strong>sidebartwo</strong> was declared. In your stylesheet.css add <strong>, #sidebartwo</strong> to all your sidebar styles.</p>
<pre class="brush: php; title: ;">#sidebar, #sidebartwo {
        background:#fff;
        color:#242424;
        padding: 0px 5px 5px 12px;
        float: left;
        width: 170px;
        margin-right: 5px;
        margin-top: 15px;
        margin-bottom: 15px;
        font-size:12px;
}

#sidebar a, #sidebartwo a  {
        text-decoration: none;
        color: #242424;
        font-weight: normal;
        font-size: 12px;
        padding-left: 0px;
}</pre>
<p>If you want different styles for each sidebar, then separate the styles and declare them individually.</p>
<h3>Done!</h3>
<p>What is left to do now is to tweak the sidebar styles until you are happy with it <img src='http://wphacks.ahyen.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  I&#8217;ll leave you with snapshots of my site before and after adding an additional sidebar and I hope your site will turn out good as mine did.</p>
<p>Good luck!<br />
[nggallery id=1]</p>
]]></content:encoded>
			<wfw:commentRss>http://wphacks.ahyen.com/adding-extra-sidebars-to-your-wordpress-blog-for-more-real-estate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Top 10 Free Must-Have Basic WordPress Plugins That You Should Really Install</title>
		<link>http://wphacks.ahyen.com/top-10-free-must-have-basic-wordpress-plugins-that-you-should-really-install/</link>
		<comments>http://wphacks.ahyen.com/top-10-free-must-have-basic-wordpress-plugins-that-you-should-really-install/#comments</comments>
		<pubDate>Mon, 19 Apr 2010 08:06:49 +0000</pubDate>
		<dc:creator>ahyen</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://wphacks.ahyen.com/?p=25</guid>
		<description><![CDATA[WordPress is a very versatile platform where you can format your blog with an infinite amount of configurations and features. WordPress itself is so self sufficient that you can code your blog to do whatever you want, provided you know how to code. But what if you only know basic coding and do not want to spend hours after hours configuring your blog with all the features of a world-class website? You pay some one to do it for you OR you could install some plugins. Here&#8217;s a list of ahyen.com&#8217;s Top 10 Free Must-Have Basic WordPress Plugins! The Top 10 Free Must-Have Basic WordPress Plugins Akismet Now this is a no-brainer and it comes installed as default with your WordPress installer. All you have to do is to activate Akismet, key in your WordPress.com API key and you shall be spam-free for the rest of your blogging days. Trust me, no one likes to read spammy comments. Download FeedBurner FeedSmith Feeds are an integral part of blogging as some of your readers would prefer to get updates about your site via e-mail or through a feed reader. This plugin here will handle all your feeds and divert it to FeedBurner, which is the [...]]]></description>
			<content:encoded><![CDATA[<p>WordPress is a very versatile platform where you can format your blog with an infinite amount of configurations and features. WordPress itself is so self sufficient that you can code your blog to do whatever you want, provided you know how to code. But what if you only know basic coding and do not want to <a id="aptureLink_XuqMqF5JyT" href="http://ahyen.com/blog/i-zen-ified-my-blog/">spend hours after hours configuring your blog</a> with all the features of a world-class website? You pay some one to do it for you OR you could install some plugins. Here&#8217;s a list of <strong>ahyen.com&#8217;s Top 10 Free Must-Have Basic WordPress Plugins</strong>!</p>
<p><span id="more-25"></span></p>
<h3>The Top 10 Free Must-Have Basic WordPress Plugins</h3>
<h4><strong>Akismet </strong></h4>
<p>Now this is a no-brainer and it <strong>comes installed as default</strong> with your WordPress installer. All you have to do is to activate Akismet, key in your WordPress.com API key and you shall be spam-free for the rest of your blogging days. Trust me, no one likes to read spammy comments. <a href="http://akismet.com/download/">Download</a></p>
<h4><strong>FeedBurner FeedSmith </strong></h4>
<p>Feeds are an integral part of blogging as some of your readers would prefer to get updates about your site via e-mail or through a feed reader. This plugin here will handle all your feeds and divert it to <strong>FeedBurner</strong>, which is the best feed delivery system on the Internet. Rest assured that your readers will now get the latest up to date information about your WordPress blog! <a href="http://orderedlist.com/our-writing/blog/articles/feedburner-feedsmith/">Download</a></p>
<h4><strong>Google Analytics For WordPress </strong></h4>
<p>Forget about WP-Stats. You need <strong>real, world-class analytics</strong> and Google Analytics is the way to go. Google Analytics is the best free analytics you can get on the market plus its demographics are <strong>highly configurable</strong>. Whether you like pie-charts, trend charts or bar charts Google Analytics can do it all and the key to integrating your WordPress blog with it is through this plugin. <a href="http://yoast.com/wordpress/google-analytics/">Download</a></p>
<h4><strong>Google XML Sitemaps </strong></h4>
<p>In order for Google or any search engine to <strong>index your website</strong>, you must have a sitemap configured. Although you can probably create your very own sitemap manually, you probably wouldn&#8217;t want to do that for every single blog post or article you publish. The Google XML Sitemaps plugin updates your sitemap automatically every time a new post is published and also <strong>notifies all major search engines</strong>! <a href="http://www.arnebrachhold.de/projects/wordpress-plugins/google-xml-sitemaps-generator/">Download</a></p>
<h4><strong>IntenseDebate Comments </strong></h4>
<p>The Comments section is where you <strong>engage your readers</strong> and <strong>create interactivity</strong> between the author and the reader. Therefore it is important to format this section properly and make it as user-friendly and as easy to read as possible. I&#8217;ve tried to give my Comments section a clean look but when I found out about IntenseDebate for WordPress, I installed it instantly. IntenseDebate looks professional and it&#8217;s layout can be customized according to your preference. Comment rating and management is a breeze with this plugin so why do it yourself? Leave it to the pros! <a href="http://intensedebate.com/wordpress">Download</a></p>
<h4><strong>SexyBookmarks </strong></h4>
<p>With the increase of social media sites on the Internet, your blog&#8217;s potential greatly expands. Sharing your blog on these networks quickly become a tedious task as your readers have to copy and paste the URLs into social media sites like Twitter, Facebook and Digg. With plugins like SexyBookmarks, it is now <strong>a breeze</strong> and <strong>it looks great</strong>! <a href="http://www.sexybookmarks.net/">Download</a></p>
<h4><strong>Theme Tester </strong></h4>
<p>Theme Tester is a plugin which hides all the CSS customization you are changing once you activate it. It saves your readers from wondering what is happening to the blog when it looks different every other second. However this plugin only <strong>pauses the stylesheet</strong> of your blog. Any changes you make to the widgets, sidebars or contents are still visible so use with care <img src='http://wphacks.ahyen.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  <a href="http://ocaoimh.ie/theme-tester/">Download</a></p>
<h4><strong>TweetMeme Retweet Button </strong></h4>
<p>You should be wondering why I included this into my list by now. Yeah the TweetMeme Retweet Button is currently one of the most popular bookmarking tools and it looks good too! TweetMeme also offers <strong>link tracking</strong> so you could see who tweeted your post and also how many retweets have been made! Choose between the standard or the mini version and add configure it with your Twitter account name and you are ready to go! <a href="http://tweetmeme.com/about/plugins">Download</a></p>
<h4><strong>WordPress Mobile Edition </strong></h4>
<p>I chose WordPress Mobile Edition over WPtouch because it is <strong>not just specialized for high-end touch screen devices</strong> namely the iPhone, Blackberry and Android. I have experienced WPtouch looking terrible on my Nokia 5800 Xpress Music but WordPress Mobile Edition looks just the same on any platform. No doubt WPtouch looks smashing but which one do you want? Your site to look good or more compatibility with other mobile devices? Your choice. <a href="http://crowdfavorite.com/wordpress/">Download</a></p>
<h4><strong>WordPress Related Posts </strong></h4>
<p>This plugin allows you to add related posts to your current post and at the same time <strong>increase the clickthrough rating</strong> on your site. It is as simple plugin and works almost flawlessly. You can change the code to adapt it to your site theme as you like. What I like about this plugin is that it is simple and suited for those who have a clean theme. Just install it and plug the PHP string into your template and you are done! <a href="http://fairyfish.com/2008/03/21/wordpress-related-posts-plugin/">Download</a></p>
<h3>Express Some Gratitude</h3>
<p>As you know these plugins are free of charge and the developer are only human. They designed these plugins in their free time (hmm some might depend on it to make a living) so if you feel like it do donate or at the very least promote their plugins so other would donate too. With your support these developers would then be able to continue improving their plugins and provide their best support to you.</p>
<p style="text-align: justify;">
]]></content:encoded>
			<wfw:commentRss>http://wphacks.ahyen.com/top-10-free-must-have-basic-wordpress-plugins-that-you-should-really-install/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

