WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] how to adapt a template to indent category ‘children’

[Resolved] how to adapt a template to indent category ‘children’

Viewing 2 replies - 1 through 2 (of 2 total)
  • Nice theme!
    What you are looking for is in SideBar.php in your theme directory. Look for the line that reads:
    <?php wp_list_cats(); ?>

    Change it to something like:
    <?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=1’); ?>

    and see if you like the results.

    Don’t for get that empty categories don’t show even if the category below them has something in it.

    Hope that helps…
    _____________________________________________
    Brian Layman

    Thank you Brian
    Ghyslain updated the theme with an icon for the child categories. Wonderful support from both of you 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] how to adapt a template to indent category ‘children’’ is closed to new replies.
Skip to toolbar