<?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>The Website Owner&#039;s Manual &#187; static pages</title>
	<atom:link href="http://www.nurelm.com/themanual/tag/static-pages/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nurelm.com/themanual</link>
	<description>Tips and tricks from the trenches. Written by people who like the Web so much that they decided to turn obsessive surfing habits into career choices.</description>
	<lastBuildDate>Wed, 01 Feb 2012 02:46:27 +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>Make WordPress Obey: List Posts on Static Pages</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/</link>
		<comments>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 19:02:29 +0000</pubDate>
		<dc:creator>sam</dc:creator>
				<category><![CDATA[Develop]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[posts]]></category>
		<category><![CDATA[static pages]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336</guid>
		<description><![CDATA[WordPress static pages are not supposed to show dynamic stuff. But, sometimes, you want them to anyway.  Here's a plugin that does just that. This plugin adds the ability to put a tag in your page entry and have it display a list of posts using the get_posts template tag.]]></description>
			<content:encoded><![CDATA[<p>WordPress is a great tool with ton of community support.  But sometimes, when you just can&#8217;t make it do your bidding, nobody has written a plugin to do what you want, and Google reveals no acceptable hacks, you just have to fire up Notepad and summon your inner PHP hacker.  Coaxing WordPress into displaying certain posts on a static page is just one of those times.<span id="more-336"></span></p>
<p>WordPress static pages are not supposed to show dynamic stuff. But, sometimes, you want them to anyway.  Here&#8217;s a plugin that does just that. This plugin adds the ability to put a tag in your page entry and have it display a list of posts using the get_posts template tag.</p>
<p>By default it will show the 10 most recent posts ordered in reverse date order,  but it will accept any of the options provided by <a href="http://codex.wordpress.org/Template_Tags/get_posts">the get_posts template tag</a>.  To use it, just put the following into the HTML of any page or post, use as many times as you like<br />
on the same page:</p>
<pre>  [get_posts]</pre>
<p>This default usage will return the last 10 posts in reverse chronological order.  Along with all the options  provided by the get_posts template tag, it will also accept one additional option:</p>
<p>ul_class: This is the class assigned to the bullet list.  Default of &#8220;get_posts_class&#8221;.</p>
<p>An example with a few options:</p>
<pre>  [get_posts tag="my favorite tag" numberposts=5 orderby="title]</pre>
<p>Shows 5 posts with the tag &#8220;my favorite tag&#8221; ordered by title.</p>
<p>There are quite a few more options &#8230; check <a href="http://wordpress.org/extend/plugins/nurelm-get-posts/">the wordpress.org extensions page</a> for more detailed documentation on all the options.</p>
<p><a href="http://www.nurelm.com/themanual/wp-content/uploads/2009/08/get-posts.zip"><strong>Download the plugin here</strong></a>, and please let us know with a comment if you have any suggestions, comments, requests or questions.  And, if you like it, hit <a href="http://wordpress.org/extend/plugins/nurelm-get-posts/">the plugin page</a> and give it a nice rating <img src='http://www.nurelm.com/themanual/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/feed/</wfw:commentRss>
		<slash:comments>77</slash:comments>
		</item>
	</channel>
</rss>

