Plugin Directory

Misiek Page Category

Plugin allows you to create categories for pages.

How can I display all or individual categories in a page not in the widget ?

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);

version 2.1 allow more options

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

Average Rating

2 stars
(6 ratings)

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
67,3,2
30,10,3
0,2,0
50,2,1 50,2,1
0,1,0
100,1,1
0,1,0
0,1,0