Default template.
show_count=1 in sidebar.php but numbers don't show up on site.
Current code in sidebar.php:
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
Default template.
show_count=1 in sidebar.php but numbers don't show up on site.
Current code in sidebar.php:
<?php wp_list_categories('show_count=1&title_li=<h2>Categories</h2>'); ?>
Are you using Widgets? If so, changes to your sidebar.php wouldn't display because you are using Widgets.
Yes I am using widgets. I didn't actually change any code in sidebar.php; I just went looking and that's what's in there.
Anyway, if I want use widgets and I want numbers to show up, how do I do it?
Hello me. Here is my answer, from me.
In wp-includes/widgets.php, I changed:
$c = $options[$number]['count'] ? '1' : '0';
to:
$c = $options[$number]['count'] ? '0' : '1';
Thanks, me!
Oh wait. I am new to WP. You can click a checkbox in the Widget controls.
So, hi again me, here is my better answer: "Hey pal, check the checkbox to 'Show post counts' in the Widget browser GUI."
lol 'me' ...there are a limited number of volunteers here with advanced knowledge... and they're not always here either. The vast majority of people here show up for the first time with a problem they need solved and then are not seen again.
I'm new to WP also, and have had the same question (my show post counts option was missing altogether).
Call me brave or stupid, but I've been trying to help out around here whenever I visit, even though I tend to learn from far more from posts than I can answer anything to. (clumsiest sentence ever he) Please join in. :)
This topic has been closed to new replies.