<?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>Best WordPress Template Blog&#187; Plugins</title>
	<atom:link href="http://bestwordpresstemplate.com/category/plugins/feed/" rel="self" type="application/rss+xml" />
	<link>http://bestwordpresstemplate.com</link>
	<description>Best SEO/Ads/Speed-optimized "Themes" Template for WordPress</description>
	<lastBuildDate>Wed, 11 Mar 2009 19:13:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>List/Latest Posts in Category ID WordPress Plugin</title>
		<link>http://bestwordpresstemplate.com/list-latest-posts-in-category-id-wordpress-plugin-26/</link>
		<comments>http://bestwordpresstemplate.com/list-latest-posts-in-category-id-wordpress-plugin-26/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 20:40:45 +0000</pubDate>
		<dc:creator>Best WordPress Template</dc:creator>
				<category><![CDATA[Plugins]]></category>

		<guid isPermaLink="false">http://bestwordpresstemplate.com/listlatest-posts-in-category-id-wordpress-plugin-26/</guid>
		<description><![CDATA[This is my new simple WordPress plugin that allows you to list: (1) the latest 5 or 7 posts in a category by the category ID, (2) all posts in the category by category ID, and (3) all posts with their excerpts in the category by category ID.]]></description>
			<content:encoded><![CDATA[<p>This is my new simple WordPress plugin that allows you to list:<strong> </strong>(1) the latest 5 or 7 posts in a category by the category ID, (2) all posts in the category by category ID, and (3) all posts with their excerpts in the category by category ID.</p>
<h2>Plugin Concepts</h2>
<p>Well, before writing this plugin, I was looking for <strong>a plugin that can list the latest post in category</strong>, as well as <strong>all the posts in the category (with and without the post excerpt)</strong>. Mainly, I just want to use the listing of all posts + excerpts in category ID function, so I can use it to list all the posts + excerpt as a CATEGORY TYPE II &#8211; according to my SEOed site architectural blueprint on link/page-rank distribution. (CATEGORY TYPE I is the default WordPress category.php page that usually list the latest 10 posts (configurable in the &#8220;Options =&gt; Reading&#8221; admin area).</p>
<p>Anyway, because I could not find a way to &#8216;automatically&#8217; create these CATEGORY TYPE II pages with all its posts and post excerpts, I had adapted another solution to have an option that let the WordPress admin choose &#8220;<strong>the Number of Posts to show per Category page</strong>&#8221; in the Best WordPress Template&#8217;s &#8220;<strong>Presentation =&gt; Entry</strong>&#8221; configuration back-end.</p>
<h2>Plugin Features</h2>
<p>Nevertheless, I had included this plugin in the downloads of the <strong>Best  WordPress Template + plugins package</strong>, because some of you may want to use the default WordPress category page and could use this plugin to create the CATEGORY TYPE II pages to <strong>display all the category&#8217;s posts and post excerpts</strong> =&gt; so you can spread the link-love/link-power evenly to all the posts.</p>
<p>Also, there are 2 functions that you can use to display the &#8220;<strong>Latest Post from Category (ID)</strong>&#8221; in this plugin, which will be discussed in the &#8220;<strong>Plugin Usage</strong>&#8221; section below.</p>
<h2>Plugin To-Do List</h2>
<ol>
<li>Use Wordpress Codex API instead of SELECT database.</li>
<li>Add parameter(s) so user can choose the # of posts in the category by category ID to display along with optional post excerpts.</li>
</ol>
<h2>Plugin Installation</h2>
<p>Installation is like any WordPress plugin:</p>
<p>1. Download the <strong>Best  WordPress Template + plugins package</strong><br />
2. Unzip<br />
3. Upload <strong>posts-in-category.php</strong> to <strong>wp-content/plugins</strong> on your server<br />
4. Activate the plugin<br />
5. Use the output functions (see &#8220;<strong>Plugin Usage</strong>&#8221; below) in your template or sidebar widgets if you&#8217;re using PHP widgets.</p>
<p>You can find full details of installing a plugin on the how to install a WordPress plugin page.</p>
<h2>Plugin Usage</h2>
<p>There are 4 output php functions that you can use:</p>
<ul>
<li><strong>&lt;?php posts_in_cat($catID) ?&gt; </strong>= this php function will output a list of all posts wrapped in the &lt;li&gt; tags in the specified  category ID (replace $catID with the category ID):</li>
</ul>
<blockquote><p>&lt;li&gt;&lt;a href=&#8221;Post1-Permalink-URL&#8221; title=&#8221;Post-Title&#8221;&gt;Post-Title&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;li&gt;&lt;a href=&#8221;Post2-Permalink-URL&#8221; title=&#8221;Post2-Title&#8221;&gt;Post2-Title&lt;/a&gt; &lt;/li&gt;&#8230;</p></blockquote>
<ul>
<li><strong>&lt;?php </strong><strong>excerpt_posts_in_cat($catID) ?&gt;</strong> = this php function will output a list of all posts and post excerpts wrapped in the &lt;li&gt; tags in the specified  category ID (replace $catID with the category ID):</li>
</ul>
<blockquote><p>&lt;li&gt;&lt;a href=&#8221;Post1-Permalink-URL&#8221; title=&#8221;Post-Title&#8221;&gt;Post-Title&lt;/a&gt; &#8211;  Post1 Excerpt&lt;/li&gt;</p>
<p>&lt;li&gt;&lt;a href=&#8221;Post2-Permalink-URL&#8221; title=&#8221;Post2-Title&#8221;&gt;Post2-Title&lt;/a&gt; &#8211; Post2 Excerpt&lt;/li&gt; &#8230;</p></blockquote>
<ul>
<li> <strong>&lt;?php </strong><strong>latest_5_in_cat($catID) ?&gt;</strong> = this php function will output a list of the latest 7 posts wrapped in the &lt;li&gt; tags in the specified category ID (replace $catID with the category ID):</li>
</ul>
<blockquote><p>&lt;li&gt;&lt;a href=&#8221;Post1-Permalink-URL&#8221; title=&#8221;Post-Title&#8221;&gt;Post-Title&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;li&gt;&lt;a href=&#8221;Post2-Permalink-URL&#8221; title=&#8221;Post2-Title&#8221;&gt;Post2-Title&lt;/a&gt; &lt;/li&gt;&#8230;</p></blockquote>
<ul>
<li> <strong>&lt;?php </strong><strong>latest_7_in_cat($catID) ?&gt;</strong> = this php function will output a list of the latest 7 posts wrapped in the &lt;li&gt; tags in the specified category ID (replace $catID with the category ID):</li>
</ul>
<blockquote><p>&lt;li&gt;&lt;a href=&#8221;Post1-Permalink-URL&#8221; title=&#8221;Post-Title&#8221;&gt;Post-Title&lt;/a&gt;&lt;/li&gt;</p>
<p>&lt;li&gt;&lt;a href=&#8221;Post2-Permalink-URL&#8221; title=&#8221;Post2-Title&#8221;&gt;Post2-Title&lt;/a&gt; &lt;/li&gt;&#8230;</p></blockquote>
<span class="sfforumlink"><a href="http://bestwordpresstemplate.com/forums/bwt-announcements-updates-and-releases/listlatest-posts-in-category-id-wordpress-plugin/"><p><img src="http://bestwordpresstemplate.com/blog/wp-content/plugins/simple-forum/styles/icons/default/bloglink.png" alt="" /> Discuss this in the forum »</p>
</a></span>]]></content:encoded>
			<wfw:commentRss>http://bestwordpresstemplate.com/list-latest-posts-in-category-id-wordpress-plugin-26/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
