Support » Themes and Templates » display option count beside rather than below category

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    <li><h2>Categories</h2>
    <ul>
    <?php wp_list_cats('sort_column=name&optioncount=1&hierarchical=0'); ?>
    </ul>
    </li>

    ********************
    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)!
    ********************

    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.

    Thanks
    Sadish

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘display option count beside rather than below category’ is closed to new replies.