display option count beside rather than below category (3 posts)

  1. TomJohnson
    Posted 9 years ago #

    How can I display my optioncount beside rather than below my categories? My site is http://stc-suncoast.org.

  2. MichaelH
    Posted 9 years ago #

    In the WordPress default theme the optioncount appears to the right of the option description in parenthesis ().

    Here's that code taken from wp-content/themes/default/sidebar.php.

    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>

    Welcome to the WordPress Support Forums!

    Please help keep the Forums successful by reading:
    Using the Support Forums

    Also, remember the WordPress Codex and the FAQ pages.

    And, thank you, for letting us know if this information proves useful (or not)!

  3. sadish
    Posted 9 years ago #

    Just try to paste this line of code at the end of spring-flavour.css, save it, and then refresh the page.

    .categories li a { display:inline;}

    but that may cause other side effects.
    if it doesnt work to your needs, then delete this line and try something else.


Topic Closed

This topic has been closed to new replies.

About this Topic