<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Make WordPress Obey: List Posts on Static Pages</title>
	<atom:link href="http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/</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>Tue, 31 Jan 2012 01:25:15 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Rachel</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-7745</link>
		<dc:creator>Rachel</dc:creator>
		<pubDate>Fri, 25 Nov 2011 00:08:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-7745</guid>
		<description>This looks like what I need but I want to post the entire post - title and content - for each post. Do I add something inside of [get_posts tag=&quot;wines&quot; numberposts=10 orderby=&quot;title] to accomplish this?
Thanks for your help.</description>
		<content:encoded><![CDATA[<p>This looks like what I need but I want to post the entire post &#8211; title and content &#8211; for each post. Do I add something inside of [get_posts tag="wines" numberposts=10 orderby="title] to accomplish this?<br />
Thanks for your help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-7606</link>
		<dc:creator>John</dc:creator>
		<pubDate>Sun, 11 Sep 2011 19:14:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-7606</guid>
		<description>Feature request: options &quot;notcategory&quot; and &quot;nottag&quot; to display everything &lt;em&gt;but&lt;/em&gt; the category/tag designated by that option. 

Then you could do something like

&lt;h1&gt;Recent announcements&lt;/&gt;
[get_posts category=20]

&lt;h1&gt;Recent content&lt;/&gt;
[get_posts notcategory=20]</description>
		<content:encoded><![CDATA[<p>Feature request: options &#8220;notcategory&#8221; and &#8220;nottag&#8221; to display everything <em>but</em> the category/tag designated by that option. </p>
<p>Then you could do something like</p>
<p>&lt;h1&gt;Recent announcements&lt;/&gt;<br />
[get_posts category=20]</p>
<p>&lt;h1&gt;Recent content&lt;/&gt;<br />
[get_posts notcategory=20]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amel</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-6866</link>
		<dc:creator>Amel</dc:creator>
		<pubDate>Wed, 11 May 2011 17:37:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-6866</guid>
		<description>Hello,

Great plugin but I was wondering how to pull the posts author as well. I tried using the &quot;post_author&quot; but it only pulls that users id and not their user name. I also tried using the &quot;user_nicename&quot; field but it wouldn&#039;t pull that in either. 

Here is the shortcode:
[get_posts fields=&quot;post_title, post_author&quot; fields_classes=&quot;class1, class2&quot; fields_make_link=&quot;true, false&quot;]

But the &quot;post_author&quot; only shows the users id number that is in the database. Anyone have any idea how to pull the author?

Thanks,
Amel</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>Great plugin but I was wondering how to pull the posts author as well. I tried using the &#8220;post_author&#8221; but it only pulls that users id and not their user name. I also tried using the &#8220;user_nicename&#8221; field but it wouldn&#8217;t pull that in either. </p>
<p>Here is the shortcode:<br />
[get_posts fields="post_title, post_author" fields_classes="class1, class2" fields_make_link="true, false"]</p>
<p>But the &#8220;post_author&#8221; only shows the users id number that is in the database. Anyone have any idea how to pull the author?</p>
<p>Thanks,<br />
Amel</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: cdragin</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-6834</link>
		<dc:creator>cdragin</dc:creator>
		<pubDate>Fri, 29 Apr 2011 14:49:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-6834</guid>
		<description>I&#039;m pulling in the entire post using post_content, but all of the p tags are stripped out, so the text merges into one giant paragraph. Is there a way to prevent the p tags from being lost?</description>
		<content:encoded><![CDATA[<p>I&#8217;m pulling in the entire post using post_content, but all of the p tags are stripped out, so the text merges into one giant paragraph. Is there a way to prevent the p tags from being lost?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Manny</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-6667</link>
		<dc:creator>Manny</dc:creator>
		<pubDate>Thu, 07 Apr 2011 10:11:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-6667</guid>
		<description>Great plugin, add these styles and edit as required to style links.

.get_posts_class { list-style-type: none!important; list-style:none!important;}
.get_posts_class li { display: block; padding: 4px 4px; list-style-type: none!important; list-style:none!important; }
.get_posts_class li a { display: block; font-size:12px; font-weight: bold; margin-right:4px; }</description>
		<content:encoded><![CDATA[<p>Great plugin, add these styles and edit as required to style links.</p>
<p>.get_posts_class { list-style-type: none!important; list-style:none!important;}<br />
.get_posts_class li { display: block; padding: 4px 4px; list-style-type: none!important; list-style:none!important; }<br />
.get_posts_class li a { display: block; font-size:12px; font-weight: bold; margin-right:4px; }</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-6568</link>
		<dc:creator>Chris</dc:creator>
		<pubDate>Wed, 16 Mar 2011 14:08:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-6568</guid>
		<description>Currently I pull 8 posts to a main page, but I wanted a specific category because other posts will be a blog. I got a specific category to post to the main page while not showing the blog category. 

get_posts category=6

So it looks like this 

[get_posts numberposts=8 fields=&quot;post_title, post_excerpt &quot; get_posts category=6]</description>
		<content:encoded><![CDATA[<p>Currently I pull 8 posts to a main page, but I wanted a specific category because other posts will be a blog. I got a specific category to post to the main page while not showing the blog category. </p>
<p>get_posts category=6</p>
<p>So it looks like this </p>
<p>[get_posts numberposts=8 fields="post_title, post_excerpt " get_posts category=6]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bnpositive</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-5787</link>
		<dc:creator>Bnpositive</dc:creator>
		<pubDate>Sat, 29 Jan 2011 18:44:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-5787</guid>
		<description>The category option doesn&#039;t seem to be working for me. I have the following code setup on the page, but when rendering it&#039;s showing other posts, not ones from the category I&#039;ve specified.

[get_posts post_category=&quot;27&quot; fields=&quot;post_title, post_excerpt&quot; fields_classes=&quot;class1, class2&quot; fields_make_link=&quot;true, false&quot;]

What am I doing wrong?</description>
		<content:encoded><![CDATA[<p>The category option doesn&#8217;t seem to be working for me. I have the following code setup on the page, but when rendering it&#8217;s showing other posts, not ones from the category I&#8217;ve specified.</p>
<p>[get_posts post_category="27" fields="post_title, post_excerpt" fields_classes="class1, class2" fields_make_link="true, false"]</p>
<p>What am I doing wrong?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jefre</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-4801</link>
		<dc:creator>Jefre</dc:creator>
		<pubDate>Fri, 10 Dec 2010 15:53:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-4801</guid>
		<description>Is there a way to display a message (e.g. &quot;Not Available at this time.&quot;) when there are no posts that fulfill all the arguments?</description>
		<content:encoded><![CDATA[<p>Is there a way to display a message (e.g. &#8220;Not Available at this time.&#8221;) when there are no posts that fulfill all the arguments?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-4210</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Mon, 15 Nov 2010 20:08:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-4210</guid>
		<description>oliver: Good point, I never thought of how the site&#039;s search would handle content generated by a shortcode tag.  The answer might be that it doesn&#039;t do it well, in which case implementing your suggestion might be tough, but it&#039;s worth a closer look, and I&#039;ll add it to the feature request list.</description>
		<content:encoded><![CDATA[<p>oliver: Good point, I never thought of how the site&#8217;s search would handle content generated by a shortcode tag.  The answer might be that it doesn&#8217;t do it well, in which case implementing your suggestion might be tough, but it&#8217;s worth a closer look, and I&#8217;ll add it to the feature request list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sam</title>
		<link>http://www.nurelm.com/themanual/2009/08/21/nurelm-get-posts/comment-page-2/#comment-4208</link>
		<dc:creator>sam</dc:creator>
		<pubDate>Mon, 15 Nov 2010 20:03:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.nurelm.com/themanual/?p=336#comment-4208</guid>
		<description>I&#039;ve been slacking for quite a while in answering questions, my apologies for that.  I&#039;ll try to answer a few here, even some pretty old ones:

Calvin wants to display the category that a post is from. Although there is a post_category field in the &lt;a href=&quot;http://codex.wordpress.org/Database_Description/2.7#Table:_wp_posts&quot; rel=&quot;nofollow&quot;&gt;wp_post database table fields&lt;/a&gt;, unfortunately, it is just a number pointing to the category&#039;s unique key, not it&#039;s name. It would be nice if the plugin knew that, and figured out that the name should be looked up and shown ... a feature I&#039;ll add to our issue tracker.

Gelatinous wants to know if you can list posts by keyword.  I&#039;m not sure I understand this one, since you can list posts by tag, which is a list of keywords that you choose for a particular article.  Maybe the question is about listing posts based on a keyword search, and if so the answer is no, that&#039;s not built into the plugin.  Good idea, will add it to the feature list.

tdu is just seeing &quot;[get_posts]&quot; ... that makes me think the plugin is not installed or maybe not activated, check to make sure it&#039;s turned on?

punkin wants the post_excerpt field to pull the auto-generated excerpt when no manually entered one is available. The wp_posts table we pull from does not do this, but it would be nice if the plugin could be smart and do it for you. Good idea, will add to feature list.

punkin also reported what sounds like a bug, will add to the bug list as a higher priority issue to look at.

There were a few Qs on formatting results.  The mechanism for doing this is through the ul_class and fields_classes options.  Have a look at these on &lt;a href=&quot;http://wordpress.org/extend/plugins/nurelm-get-posts/&quot; rel=&quot;nofollow&quot;&gt;the documentation page&lt;/a&gt;, you&#039;ll need to use them in conjunction with your CSS to format results.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been slacking for quite a while in answering questions, my apologies for that.  I&#8217;ll try to answer a few here, even some pretty old ones:</p>
<p>Calvin wants to display the category that a post is from. Although there is a post_category field in the <a href="http://codex.wordpress.org/Database_Description/2.7#Table:_wp_posts" rel="nofollow">wp_post database table fields</a>, unfortunately, it is just a number pointing to the category&#8217;s unique key, not it&#8217;s name. It would be nice if the plugin knew that, and figured out that the name should be looked up and shown &#8230; a feature I&#8217;ll add to our issue tracker.</p>
<p>Gelatinous wants to know if you can list posts by keyword.  I&#8217;m not sure I understand this one, since you can list posts by tag, which is a list of keywords that you choose for a particular article.  Maybe the question is about listing posts based on a keyword search, and if so the answer is no, that&#8217;s not built into the plugin.  Good idea, will add it to the feature list.</p>
<p>tdu is just seeing &#8220;[get_posts]&#8221; &#8230; that makes me think the plugin is not installed or maybe not activated, check to make sure it&#8217;s turned on?</p>
<p>punkin wants the post_excerpt field to pull the auto-generated excerpt when no manually entered one is available. The wp_posts table we pull from does not do this, but it would be nice if the plugin could be smart and do it for you. Good idea, will add to feature list.</p>
<p>punkin also reported what sounds like a bug, will add to the bug list as a higher priority issue to look at.</p>
<p>There were a few Qs on formatting results.  The mechanism for doing this is through the ul_class and fields_classes options.  Have a look at these on <a href="http://wordpress.org/extend/plugins/nurelm-get-posts/" rel="nofollow">the documentation page</a>, you&#8217;ll need to use them in conjunction with your CSS to format results.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

