<?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>Shade Tree Sites</title>
	<atom:link href="http://shadetreesites.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shadetreesites.com</link>
	<description>Building Better Websites</description>
	<lastBuildDate>Sat, 10 Mar 2012 03:27:19 +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>WordPress Checklist</title>
		<link>http://shadetreesites.com/2012/wordpress-checklist/</link>
		<comments>http://shadetreesites.com/2012/wordpress-checklist/#comments</comments>
		<pubDate>Sat, 10 Mar 2012 03:27:19 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1270</guid>
		<description><![CDATA[Checklist to Create the Perfect WordPress Website Smashing Magazine ]]></description>
			<content:encoded><![CDATA[<h3><a title="Checklist to Create the Perfect WordPress Website" href="http://wp.smashingmagazine.com/2011/12/14/15-step-checklist-creating-perfect-wordpress-website/">Checklist to Create the Perfect WordPress Website</a></h3>
<p style="text-align: right;"><strong>Smashing Magazine </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2012/wordpress-checklist/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple WordPress Admin Customizations</title>
		<link>http://shadetreesites.com/2012/simple-wordpress-admin-customizations/</link>
		<comments>http://shadetreesites.com/2012/simple-wordpress-admin-customizations/#comments</comments>
		<pubDate>Fri, 09 Mar 2012 03:57:30 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Design Tips]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1265</guid>
		<description><![CDATA[Whether you are just looking to customize your own WordPress site or are designing one for a client &#8211; these three snippets will make an impression. 1. Simple Login URL To change the default URL for logging into your WordPress powered site from: yoursite.com/wp-login.php to yoursite.com/login Paste this code in your .htaccess file before the [...]]]></description>
			<content:encoded><![CDATA[<p>Whether you are just looking to customize your own WordPress site or are designing one for a client &#8211; these three snippets will make an impression.</p>
<p><strong></strong></p>
<p><strong>1. Simple Login URL</strong></p>
<p>To change the default URL for logging into your WordPress powered site from: <em>yoursite.com/wp-login.php</em> to <em>yoursite.com/login</em></p>
<p>Paste this code in your .htaccess file before the default WordPress rewrite code:</p>
<blockquote><p>RewriteRule ^login$ <a href="http://yoursite.com/wp-login.php">http://yoursite.com/wp-login.php</a> [NC,L]</p></blockquote>
<p>&nbsp;</p>
<p><strong>2. Change the WP Login Logo</strong></p>
<p>To replace the default WordPress login logo with your logo, create a new logo 326px × 82px and copy to your themes ‘images’ folder (/wp-content/themes/theme-name/images).</p>
<p>Replace ‘companylogo.png’ with the name of you logo and paste this code into your functions.php:</p>
<blockquote><p>function custom_login_logo() {    echo &#8216;&lt;style type=&#8221;text/css&#8221;&gt;h1 a { background: url(&#8216;.get_bloginfo(&#8216;template_directory&#8217;).&#8217;/companylogo.png) 50% 50% no-repeat !important; }&lt;/style&gt;&#8217;; } add_action(&#8216;login_head&#8217;, &#8216;custom_login_logo&#8217;);</p></blockquote>
<p>&nbsp;</p>
<p><strong>3. Add a Custom Dashboard Logo</strong></p>
<p>To replace the Dashboards logo, create a transparent (.gif or .png) image of 30x31px. Save the logo image in your theme’s image folder (/wp-content/themes/theme-name/images) and name it whatever you like.</p>
<p>Replace ‘custom-logo.gif’ with the name of your logo image and paste this into your functions.php:</p>
<blockquote><p>add_action(&#8216;admin_head&#8217;, &#8216;my_custom_logo&#8217;); function my_custom_logo() { echo &#8216; &lt;style type=&#8221;text/css&#8221;&gt;#header-logo { background-image: url(&#8216;.get_bloginfo(&#8216;template_directory&#8217;).&#8217;/images/custom-logo.gif) !important; } &lt;/style&gt; &#8216;; }</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2012/simple-wordpress-admin-customizations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding Print Stylesheet to WordPress</title>
		<link>http://shadetreesites.com/2012/adding-print-stylesheet/</link>
		<comments>http://shadetreesites.com/2012/adding-print-stylesheet/#comments</comments>
		<pubDate>Fri, 17 Feb 2012 02:32:29 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1248</guid>
		<description><![CDATA[Adding Print Stylesheet to WordPress WpTuts+]]></description>
			<content:encoded><![CDATA[<h3><a title="WpTuts Adding Simple Print Stylesheet" href="http://wp.tutsplus.com/tutorials/theme-development/quick-tip-adding-a-simple-print-stylesheet-to-wordpress/">Adding Print Stylesheet to WordPress</a></h3>
<p style="text-align: right;"><strong>WpTuts+</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2012/adding-print-stylesheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add Facebook and Twitter Buttons Without a Plugin</title>
		<link>http://shadetreesites.com/2012/how-to-add-facebook-and-twitter-buttons-without-a-plugin/</link>
		<comments>http://shadetreesites.com/2012/how-to-add-facebook-and-twitter-buttons-without-a-plugin/#comments</comments>
		<pubDate>Sun, 22 Jan 2012 02:40:58 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1233</guid>
		<description><![CDATA[Facebook Like Button: Add following to page, post, template where you want it to appear: &#60;iframe src=&#8221;http://www.facebook.com/plugins/like.php?href=&#60;?php echo urlencode(get_permalink($post-&#62;ID)); ?&#62;&#38;amp;layout=standard&#38;amp;show_faces=false&#38;amp; width=450&#38;amp;action=like&#38;amp;colorscheme=light&#8221; scrolling=&#8221;no&#8221; frameborder=&#8221;0&#8243; allowTransparency=&#8221;true&#8221; style=&#8221;border:none; overflow:hidden; width:450px; height:60px;&#8221;&#62; &#60;/iframe&#62; Options: Show the friend icons under the button:  show_face=true Display the simple button and the count only:  layout=button_count Darker color scheme for your button:  colorscheme=dark Change the [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Facebook Like Button:</strong></p>
<p>Add following to page, post, template where you want it to appear:</p>
<blockquote><p>&lt;iframe src=&#8221;<a href="http://www.facebook.com/plugins/like.php?href=&lt;?php">http://www.facebook.com/plugins/like.php?href=&lt;?php</a> echo urlencode(get_permalink($post-&gt;ID)); ?&gt;&amp;amp;layout=standard&amp;amp;show_faces=false&amp;amp;<br />
width=450&amp;amp;action=like&amp;amp;colorscheme=light&#8221; scrolling=&#8221;no&#8221; frameborder=&#8221;0&#8243; allowTransparency=&#8221;true&#8221; style=&#8221;border:none; overflow:hidden; width:450px; height:60px;&#8221;&gt;<br />
&lt;/iframe&gt;</p></blockquote>
<p><strong>Options:</strong></p>
<ul>
<li>Show the friend icons under the button:  <strong>show_face=true</strong></li>
<li>Display the simple button and the count only:  <strong>layout=button_count</strong></li>
<li>Darker color scheme for your button:  <strong>colorscheme=dark</strong></li>
<li>Change the text from<em> Like</em> to <em>Recommend</em>:  <strong>action=recommend</strong></li>
<li>You can also change the width and height of the iFrame as needed</li>
</ul>
<p><strong>Official Twitter Button:</strong></p>
<p>Add following to template <strong><em>within the wordpress loop </em></strong>(meaning after php if (have_posts()) : while (have_posts()) : the_post();) :</p>
<p><strong>Adds Button with:</strong></p>
<ul>
<li>share URL is the page URL</li>
<li>Tweet Text is the page title</li>
<li>via @your twitter name</li>
<li>in english</li>
</ul>
<blockquote><p>&lt;a href=&#8221;<a href="https://twitter.com/share">https://twitter.com/share</a>&#8221; data-via=&#8221;your twitter name&#8221; data-count=&#8221;none&#8221;&gt;Tweet&lt;/a&gt;<br />
&lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=&#8221;//platform.twitter.com/widgets.js&#8221;;fjs.parentNode.insertBefore(js,fjs);}}(document,&#8221;script&#8221;,&#8221;twitter-wjs&#8221;);&lt;/script&gt;</p></blockquote>
<p><strong>Adds Button with:</strong></p>
<ul>
<li>share URL is the page URL</li>
<li>Tweet Text is the page title</li>
<li>via @your twitter name</li>
<li>in english</li>
<li>shows count</li>
</ul>
<blockquote><p>&lt;a href=&#8221;<a href="https://twitter.com/share">https://twitter.com/share</a>&#8221; data-via=&#8221;your twitter name&#8221;&gt;Tweet&lt;/a&gt;<br />
&lt;script&gt;!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=&#8221;//platform.twitter.com/widgets.js&#8221;;fjs.parentNode.insertBefore(js,fjs);}}(document,&#8221;script&#8221;,&#8221;twitter-wjs&#8221;);&lt;/script&gt;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2012/how-to-add-facebook-and-twitter-buttons-without-a-plugin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Shortcode: Embed a PDF in an iframe</title>
		<link>http://shadetreesites.com/2011/embed-a-pdf-in-an-iframe/</link>
		<comments>http://shadetreesites.com/2011/embed-a-pdf-in-an-iframe/#comments</comments>
		<pubDate>Mon, 05 Dec 2011 13:00:00 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1201</guid>
		<description><![CDATA[WordPress Shortcode: Embed a PDF in an iframe Shortcode to display a PDF file on your WordPress website: The PDF is loaded through Google docs and then displayed in an iframe, on your site. First paste the code below into your functions.php file: function cwc_viewpdf($attr, $url) { return '&#60;iframe src="http://docs.google.com/viewer?url=' . $url . '&#38;embedded=true" style="width:' [...]]]></description>
			<content:encoded><![CDATA[<p><strong>WordPress Shortcode: Embed a PDF in an iframe</strong></p>
<p>Shortcode to display a PDF file on your WordPress website:</p>
<p>The PDF is loaded through Google docs and then displayed in an iframe, on your site.<br />
First paste the code below into your <code>functions.php</code> file:</p>
<blockquote>
<pre>function cwc_viewpdf($attr, $url) {
    return '&lt;iframe src="http://docs.google.com/viewer?url=' . $url . '&amp;embedded=true" style="width:' .$attr['width']. '; height:' .$attr['height']. ';" frameborder="0"&gt;Your browser should support iFrame to view this PDF document&lt;/iframe&gt;';
}
add_shortcode('embedpdf', 'cwc_viewpdf');</pre>
</blockquote>
<p>Then, use the following to display a PDF.   You can define width and height to fit your website.</p>
<blockquote>
<pre>[embedpdf width="600px" height="500px"]http://yourwebsite.com/wp-content/yourpdf.pdf[/embedpdf]</pre>
</blockquote>
<p><strong><span style="color: #ff0000;">Source:</span> <a title="Embed a PDF in an iframe" href="http://www.catswhocode.com/blog/10-super-useful-wordpress-shortcodes">CatsWhoCode.com</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2011/embed-a-pdf-in-an-iframe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Add Meta Copyright Info to WordPress</title>
		<link>http://shadetreesites.com/2011/how-to-add-meta-copyright-info-to-wordpress/</link>
		<comments>http://shadetreesites.com/2011/how-to-add-meta-copyright-info-to-wordpress/#comments</comments>
		<pubDate>Sun, 04 Dec 2011 22:54:36 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1194</guid>
		<description><![CDATA[How to Add Meta Copyright Info to WordPress WPRecipes.com]]></description>
			<content:encoded><![CDATA[<h2><a title="Meta Copyright to WordPress" href="http://www.wprecipes.com/how-to-add-your-own-meta-copyright-to-your-wordpress-blog">How to Add Meta Copyright Info to WordPress</a></h2>
<p style="text-align: right;">WPRecipes.com</p>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2011/how-to-add-meta-copyright-info-to-wordpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Edit the WordPress Admin Help Dropdown Menu</title>
		<link>http://shadetreesites.com/2011/how-to-edit-wordpress-admin-help-dropdown-menu/</link>
		<comments>http://shadetreesites.com/2011/how-to-edit-wordpress-admin-help-dropdown-menu/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 03:14:07 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1186</guid>
		<description><![CDATA[At the top right of the WordPress Admin panels you’ll see a button that says &#8220;Help.&#8221; When you click it, Help text slides down. You can add your own custom help text here and customize it for different Admin panels. For example, you can add a different help text for the Add New Post panel and [...]]]></description>
			<content:encoded><![CDATA[<p>At the top right of the WordPress Admin panels you’ll see a button that says &#8220;Help.&#8221; When you click it, Help text slides down.</p>
<p>You can add your own custom help text here and customize it for different Admin panels.<br />
For example, you can add a different help text for the <em>Add New Post</em> panel and another one for the <em>Comments</em> panel.</p>
<p>Place the following in your functions.php file:</p>
<blockquote>
<pre>add_action('load-page-new.php','custom_help_page');
add_action('load-page.php','custom_help_page');
function custom_help_page() { add_filter('contextual_help','custom_page_help');
 }
function custom_page_help($help)
{ // echo $help; <strong>// <span style="color: #ff0000;">Uncomment if you want to add your Help text to the default Help text instead of replace</span></strong>
echo "&lt;h5&gt;Your Help text goes here&lt;/h5&gt;";
echo "&lt;p&gt; Your HTML goes here.&lt;/p&gt;"; }</pre>
</blockquote>
<p>To find what file you should add the action to, check the address bar in your browser and add the <em>load-</em> prefix right before the file name. For example, if you wanted to add the custom Help text to the <em>Add New Post</em> panel, which has a file name of <em>post-new.php</em>, then you would use <em>load-post-new.php</em> as the parameter of the <code>add_action</code> function shown above.</p>
<p><strong><span style="color: #ff0000;">Source:</span></strong> <a title="Edit the Help Dropdown Text" href="http://sixrevisions.com/wordpress/10-techniques-for-customizing-the-wordpress-admin-panel/">SixRevisions.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2011/how-to-edit-wordpress-admin-help-dropdown-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Custom Write Panels</title>
		<link>http://shadetreesites.com/2011/custom-write-panels/</link>
		<comments>http://shadetreesites.com/2011/custom-write-panels/#comments</comments>
		<pubDate>Sun, 06 Nov 2011 21:55:24 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1180</guid>
		<description><![CDATA[WordPress Custom Write Panels WedDesignFan.com]]></description>
			<content:encoded><![CDATA[<h2><a title="Custom Write Panels" href="http://webdesignfan.com/custom-write-panels-in-wordpress/">WordPress Custom Write Panels</a></h2>
<p style="text-align: right;">WedDesignFan.com</p>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2011/custom-write-panels/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Display Post Thumbnails in RSS Feed</title>
		<link>http://shadetreesites.com/2011/display-post-thumbnails-in-rss-feed/</link>
		<comments>http://shadetreesites.com/2011/display-post-thumbnails-in-rss-feed/#comments</comments>
		<pubDate>Sat, 05 Nov 2011 01:33:06 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1176</guid>
		<description><![CDATA[Code below will get the post thumbnail and automatically add it to your RSS feeds. Paste the code into functions.php and save the file. Your theme must support post thumbnails for this to work. function cwc_rss_post_thumbnail($content) { global $post; if(has_post_thumbnail($post-&#62;ID)) { $content = '&#60;p&#62;' . get_the_post_thumbnail($post-&#62;ID) . '&#60;/p&#62;' . get_the_content(); } return $content; } add_filter('the_excerpt_rss', [...]]]></description>
			<content:encoded><![CDATA[<p>Code below will get the post thumbnail and automatically add it to your RSS feeds.<br />
Paste the code into<em> <code>functions.php</code></em> and save the file.</p>
<p>Your theme must support post thumbnails for this to work.</p>
<blockquote>
<pre>function cwc_rss_post_thumbnail($content) {
    global $post;
    if(has_post_thumbnail($post-&gt;ID)) {
        $content = '&lt;p&gt;' . get_the_post_thumbnail($post-&gt;ID) .
        '&lt;/p&gt;' . get_the_content();
    }

    return $content;
}
add_filter('the_excerpt_rss', 'cwc_rss_post_thumbnail');
add_filter('the_content_feed', 'cwc_rss_post_thumbnail');</pre>
</blockquote>
<pre><strong><span style="color: #ff0000;">source:</span></strong><a href="http://www.catswhocode.com/blog/8-new-and-amazing-wordpress-hacks">CatsWhoCode.com</a></pre>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2011/display-post-thumbnails-in-rss-feed/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress Post Pagination without a Plugin</title>
		<link>http://shadetreesites.com/2011/wordpress-post-pagination-without-a-plugin/</link>
		<comments>http://shadetreesites.com/2011/wordpress-post-pagination-without-a-plugin/#comments</comments>
		<pubDate>Sun, 23 Oct 2011 01:48:36 +0000</pubDate>
		<dc:creator>graye</dc:creator>
				<category><![CDATA[Tips & Hacks]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[Hacks]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://shadetreesites.com/?p=1173</guid>
		<description><![CDATA[Came across this great piece of code to create post pagination without a plugin from Christian “Kriesi” Budschedl. Copy and paste into funtions.php: function kriesi_pagination($pages = &#8221;, $range = 2) {        $showitems = ($range * 2)+1;        global $paged;      if(empty($paged)) $paged = 1;      if($pages == &#8221;)      { [...]]]></description>
			<content:encoded><![CDATA[<p>Came across this great piece of code to create post pagination without a plugin from Christian “Kriesi” Budschedl.</p>
<p><strong><em>Copy and paste into funtions.php:</em></strong></p>
<blockquote><p>function kriesi_pagination($pages = &#8221;, $range = 2)<br />
{  <br />
     $showitems = ($range * 2)+1;  </p>
<p>     global $paged;<br />
     if(empty($paged)) $paged = 1;</p>
<p>     if($pages == &#8221;)<br />
     {<br />
         global $wp_query;<br />
         $pages = $wp_query-&gt;max_num_pages;<br />
         if(!$pages)<br />
         {<br />
             $pages = 1;<br />
         }<br />
     }   </p>
<p>     if(1 != $pages)<br />
     {<br />
         echo &#8220;&lt;div class=&#8217;pagination&#8217;&gt;&#8221;;<br />
         if($paged &gt; 2 &amp;&amp; $paged &gt; $range+1 &amp;&amp; $showitems &lt; $pages) echo &#8220;&lt;a href=&#8217;&#8221;.get_pagenum_link(1).&#8221;&#8216;&gt;&amp;laquo;&lt;/a&gt;&#8221;;<br />
         if($paged &gt; 1 &amp;&amp; $showitems &lt; $pages) echo &#8220;&lt;a href=&#8217;&#8221;.get_pagenum_link($paged &#8211; 1).&#8221;&#8216;&gt;&amp;lsaquo;&lt;/a&gt;&#8221;;</p>
<p>         for ($i=1; $i &lt;= $pages; $i++)<br />
         {<br />
             if (1 != $pages &amp;&amp;( !($i &gt;= $paged+$range+1 || $i &lt;= $paged-$range-1) || $pages &lt;= $showitems ))<br />
             {<br />
                 echo ($paged == $i)? &#8220;&lt;span class=&#8217;current&#8217;&gt;&#8221;.$i.&#8221;&lt;/span&gt;&#8221;:&#8221;&lt;a href=&#8217;&#8221;.get_pagenum_link($i).&#8221;&#8216; class=&#8217;inactive&#8217; &gt;&#8221;.$i.&#8221;&lt;/a&gt;&#8221;;<br />
             }<br />
         }</p>
<p>         if ($paged &lt; $pages &amp;&amp; $showitems &lt; $pages) echo &#8220;&lt;a href=&#8217;&#8221;.get_pagenum_link($paged + 1).&#8221;&#8216;&gt;&amp;rsaquo;&lt;/a&gt;&#8221;;  <br />
         if ($paged &lt; $pages-1 &amp;&amp;  $paged+$range-1 &lt; $pages &amp;&amp; $showitems &lt; $pages) echo &#8220;&lt;a href=&#8217;&#8221;.get_pagenum_link($pages).&#8221;&#8216;&gt;&amp;raquo;&lt;/a&gt;&#8221;;<br />
         echo &#8220;&lt;/div&gt;\n&#8221;;<br />
     }<br />
}</p></blockquote>
<p>To display call:</p>
<blockquote><p>kriesi_pagination();</p></blockquote>
<p>Some basic CSS to style (change to suit your site):<br />
<strong><em>Copy and paste into style.css</em></strong></p>
<blockquote><p>.pagination {<br />
clear:both;<br />
padding:20px 0;<br />
position:relative;<br />
font-size:11px;<br />
line-height:13px;<br />
}</p>
<p>.pagination span, .pagination a {<br />
display:block;<br />
float:left;<br />
margin: 2px 2px 2px 0;<br />
padding:6px 9px 5px 9px;<br />
text-decoration:none;<br />
width:auto;<br />
color:#fff;<br />
background: #555;<br />
}</p>
<p>.pagination a:hover{<br />
color:#fff;<br />
background: #3279BB;<br />
}</p>
<p>.pagination .current{<br />
padding:6px 9px 5px 9px;<br />
background: #3279BB;<br />
color:#fff;<br />
}</p></blockquote>
<p><strong><span style="color: #ff0000;">source:</span></strong><a href="http://www.kriesi.at/archives/how-to-build-a-wordpress-post-pagination-without-plugin"> kriesi.at</a></p>
]]></content:encoded>
			<wfw:commentRss>http://shadetreesites.com/2011/wordpress-post-pagination-without-a-plugin/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

