WordPress.org

Ready to get started?Download WordPress

Forums

Align Category Count with Widget (2 posts)

  1. drpoovilleorg
    Member
    Posted 7 years ago #

    I'm trying to get my category counts to line up in the sidebar. Right now, when i enable the Counts option in the Categories SideBar widget, the counts show up underneath the Category title in parenthesis. I have searched through the code to try and find where the count is printed, but i can not find it. Can someone please let me know how I might beable to fix this issue?

    For example, at HumanEcologyForum.org I have X Categories:

    # Announcements

    * Initiatives
    * Projects
    * Websites

    When I enable the Category Counts it renders them as follows:

    # Announcements
    (15)
    * Initiatives
    (12)
    * Projects
    (8)
    * Websites
    (56)

    I would really like to know how i could force it to render it instead like this:

    # Announcements (15)

    * Initiatives (12)
    * Projects (8)
    * Websites (56)

    Any help is greatly appreciated. Thanks!

  2. artcase
    Member
    Posted 6 years ago #

    I have the same problem. At first I thought it was my css, but I can't separate the category item from the count in the html to apply a span to the count.

    There was a post (here's the link)
    http://wordpress.org/support/topic/119542?replies=5

    that went into the classes.php file and made a span. However, I cannot seem to find the right line in my file. It doesn't exist in the same format as put in the post.

    Anyone have an answer?

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Topic