Categories:
Author:
Current version:
0.1.1
About It:
Get it:
Rate it:
Flag it:
nfe_if_category
nfe_if_category is a conditional tag that works complementary to the built-in if_category tag.
The tag outputs inclosed content if the loaded page belongs to a specified category or any of its children. This allows you to define ‘parent’ categories able to work as ‘sections’ work right now.
The tag accepts 2 attributes: parent and exclude. exclude accepts a comma-separated list of categories not to include in the list of children. If set to the same as parent it will select only the children.
Keywords/tags:
Initially released:
24-3-2007Posted here:
24 Mar 2007Article modified:
25 Jul 2007









Comments/questions? Leave a message in the form.
Commented (3)
Small correction
...
if ($name) $out[] = strtolower( $name );
...
$current_cat = strtolower( $c );
...
@ JoNy202
thank you, I updated the download.
Seems to be a good plugin, but the file’s lost…
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site.