<?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
Behind every category the number of posts in this category is set to display. At one category the number is shown as Zero (0) but looking at the admin panel and going to the category there are 33 posts in this category. All other post counts are correct in the sidebar.
Any suggestions?
Thanks.
Best Regards,
Leeloo5E
Thank you for help..
]]>Category A (21)
Category B (7)
Category C (32)
Where the number in () corresponds to the number of posts in that category. However, that number doesn’t count private posts, even if I’m logged in. I’m organizing a bunch of personal information on my blog, and I’d like to be able to see, at a glance, how many posts are really in those categories. If they only count when logged in, that’s fine too.
]]>Does ‘optioncount’ calculate the number of categories differently?
I’m using 2.0.1.
]]>Now here’s the problem: I want the categories in the sidebar to display their number of posts (the optioncount=1) tag; however, since I excluded them from the header, they invariably display (0) as their post count.
Only when I un-exclude the post from the header does the optioncount appear correct. However, then the button appears back in the header, where I don’t want it. How can I just get the optioncount to show the correct # of sidebar category posts?
Here’s my site: https://stc-suncoast.org.
]]>