Okay, read every post I could find on this and found no answer that works or is complete so here goes.
Added this—><?php wp_list_cats(‘sort_column=name&optioncount=1&hide_empty=0’); ?>
…to get counts of posts in each category.
Problem: The counts are not next to the category name, but are below it on the next line.
This seems to be a common problem and the fix offered most often is an adjustment to the css file. The only detail offered that I can find was to add a line in the “Sub-Comment” area but my CSS file doesn’t HAVE a sub area.
ALL I NEED is for someone to tell me how to get the count to display next to the category name. I loaded my css file in a post over a week ago but no one tackled it, hence the new post.
Can anyone offer me instruction and a line of code that will remedy this please?
- The topic ‘Category Post Counts’ is closed to new replies.