Plugin allows you to create categories for pages.
In order to do it you need to enable php in your page body by exex-php plugin, then simply use below function:
mpc_widget_categories($title, $total, $expend, $category_names, $category_ids);
$title variable displays title name of page category and must be false or string.
$total variable, if set true it displays total pages in (n) next to the category name. Must be true or false.
$extend variable if set true, you won't see a links under categories (added this for users request, you always should set false here), must be true or false.
$category_names variable must be an array with your pages names, correct format is:
array('Some Name', 'Another Name');
$category_ids variable must be an array with your pages id's, correct format is:
array(1, 2);
mpc_widget_categories($title, $total, $expend, $category_names, $category_ids, $desc, $catpages_in_uncat)
$desc variable , if set to true the description under category name will be displayed
$catpages_in_uncat variable, if set to true, the pages belongs to the categories will be displayed under Uncategorized category.
Requires: 2.7.1 or higher
Compatible up to: 3.0.5
Last Updated: 2010-10-8
Downloads: 9,571
Got something to say? Need help?