WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Customizing "Categories" widget (3 posts)

  1. riba
    Member
    Posted 6 years ago #

    How can I customize my category list widget so that the post count is before the category title?

    like this:
    (3) categoryname
    (1) categoryname2

    I've tried to check out the widgets.php but I don't seem to get it by myself.

  2. riba
    Member
    Posted 6 years ago #

    anyone who is any better in php and could help?

  3. riba
    Member
    Posted 6 years ago #

    figured it out by myself after all.

    in classes.php had to move this

    if ( isset($show_count) && $show_count )
    			$link .= ' (' . intval($category->count) . ')';

Topic Closed

This topic has been closed to new replies.

About this Topic