Inserts posts into pages corresponding to category. Add on plugin for Category Page by pixline.net. Requieres an active installation of Category Page
Author: | Tim Murray (profile at wordpress.org) |
WordPress version required: | 2.2 |
WordPress version tested: | 2.8.4 |
Plugin version: | 1.0.3 |
Added to WordPress repository: | 01-10-2009 |
Last updated: | 31-12-2009
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
|
Rating, %: | 0 |
Rated by: | 0 |
Plugin URI: | http://categorypageextender.wordpress.com/ |
Total downloads: | 9 943 |
Active installs: | 50+ |
Click to start download |
This plugin builds on the Category Page plugin making it possible to automatically insert posts into pages and subpages based on categories. You must have a current version of Category Page installed in order to function.
.
Visit plugin page here
Usage
To view complete instructions read here
Open up page.php in your template folder (you may also set up a seperate a Page Template)
For the most basic setup, insert the following below the loop statement in the page.php file:
<?php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID);} ?>
I recommend you wrap the function in your standard post class. For example:
<div class="post"> <?php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID);} ?> </div>
Plugin Options
<?php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID, posts per page, number of pages);} ?><br /><br />
Posts per page: (default = 10) set to 0 to show all
This sets the number of posts to show at one time on the page.
Number of pages: (default = 15) set to 0 to show all
This tells how many page numbers to show at a time on the page navigation bar.
Example of Category Page Extender with variables:
<?php if( function_exists(page2cat_pages)){ page2cat_pages($post->ID, 5, 10);} ?>
This will list 5 posts and up to 10 page numbers at a time on the page navigation bar.
ChangeLog