WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Category Widget Formatting

[Resolved] Category Widget Formatting

Viewing 2 replies - 1 through 2 (of 2 total)
  • add a filter to functions.php of your theme:

    add_filter('wp_list_categories', 'cat_count_inline');
    function cat_count_inline($links) {
    $links = str_replace('</a> (', ' (', $links);
    $links = str_replace(')', ')</a>', $links);
    return $links;
    }

    Most excellent my friend. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Category Widget Formatting’ is closed to new replies.
Skip to toolbar