-
Show Category Counts
I had to edit the file "tpl_modules_categories_tabs.php" by copying it to my template folder.
Here's what is looks like:
PHP Code:
<?php
include(DIR_WS_MODULES . zen_get_module_directory(FILENAME_CATEGORIES_TABS));
#DISPLAY CATEGORIES
if(CATEGORIES_TABS_STATUS == '1' && sizeof($links_list) >= 1)
{
?>
<ul>
<?php
#DISPLAY EVERY CATEGORY
for($counter = 0, $links_list_size = sizeof($links_list); $counter < $links_list_size; $counter ++)
{ ?>
<li><?php echo $links_list[$counter];?></li>
<?php
}
?>
</ul>
<?php
}
?>
Now I don't see the category counts even though the show category count thing has been enabled. How do I fix this?
-
Re: Show Category Counts
Am I using the right module?
PHP Code:
<?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
-
Re: Show Category Counts
I beleive the category count only displays in the categories sidebox.. the category tabs are the horizontal list of links and these do not include the count...