wp_list_categories() template tags
I am outputting a list of categories using wp_list_categories. I want to be able to insert text in-between the category names (like commas), show the number of posts per category, and to edit the title from “Category” into “Posts filed under”.
I searched in the category.php (in wp-includes) template looking for output text strings or something the like and was unable to find a solution to the problem.
I got this to work for showing the number of posts:
<?php wp_list_categories('show_count=' . __ ('1')); ?>
But when I try to edit the title as well as declare a post count, it doesn’t work. This is my current code:
<?php wp_list_categories('title_li=' . __('0')), 'show_count=' . __('1'); ?>
And as far as inserting text in-between categories or commas, I’m totally at a loss.
Any help would be greatly appreciated. Thanks!
- The topic ‘wp_list_categories() template tags’ is closed to new replies.