Category Excluder Option Won't Work
-
Hi Eveyone,
before i installed my category order, the excluder option on my theme was working. so in other to make my category order work, i had to remove some piece of code on my header.php
when it was working it was like this
<?php
$z = count($wpzoom_exclude_cats_menu);
if ($z > 0)
{
$x = 0;
$que = “”;
while ($x < $z)
{
$que .= $wpzoom_exclude_cats_menu[$x];
$x++;
if ($x < $z) {$que .= “,”;}
}
}
else
{
$que = “”;
}
$menu = preg_replace(‘@\<li([^>]*)>\<a([^>]*)>(.*?)\<\/a>@i’, ‘<li$1><a$2>$3’, wp_list_categories(“echo=0&exclude=$que&title_li=”));
echo”$menu”;?>In order to make my category order plugin work at that time of need, i had to use this code . .
<?php
wp_list_categories(‘orderby=order&title_li=’);
echo”$menu”;?>Now i tried to exclude a category, cos my theme has the option, it did not work, tried 2 pulgins, but they dont work also.
http://www.africangamer.com
Thx
The topic ‘Category Excluder Option Won't Work’ is closed to new replies.