StudioPress Community Forums
  StudioPress Community Forums > Forums > General Discussion
For help and support, access to your downloads, or to manage your account please log into My StudioPress.

These forums have been set to read-only so you can browse the existing topics for any questions you may have -- and this forum will be removed on July 1st, 2013.

For general discussion on WordPress, CSS and design (NOT for support) visit the new Community Forums.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 10-31-2008, 09:04 PM
cnymike cnymike is offline
Registered User
Pro Plus Member
 
Join Date: Oct 2008
Location: Syracuse, NY
Posts: 120
Default How to add the post count to categories

As it is right now, the Categories in the sidebar does not indicate the number of posts in each category.

When you use a sidebar widget to add categories to the sidebar, there is an option to include the post count next to the Category name... ie: Blog (48)

But I don't want to use a widget to add Categories because the template already has Categories hard-wired. So the question is, what code do I need to add to the existing code to enable the post count?

I've tried looking this up on the WP codex and was messing around with
Code:
p_count_posts()
but it wasn't working.

Michael
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:17 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.