Can;t get sub navigation categories to display (3 posts)

  1. George
    Posted 6 years ago #

    Can anyone help. I'm using the layers theme but can;t seem to get sub categories showing. Is this supported by the theme? I don't have the coding skills to get this working so should I pick a different theme?

  2. esmi
    Forum Moderator
    Posted 6 years ago #

    Edit your sidebar and look for wp_list_categories. Remove any reference to &depth=1 within the brackets associated with this template tag.


  3. George
    Posted 6 years ago #


    Thanks for your help.

    I've looked in the sidebar php and the &depth=1 is not there.

    Just shows " <?php wp_list_categories('title_li'); ?> "

    I did find a similar reference in the header.php though

    <!-- Begin navigation -->

    • /">Blog
    • <?php wp_list_pages('title_li=&depth=1'); ?>

    <?php if (function_exists('pixopoint_menu')) {pixopoint_menu();} ?>
    </div><!--End navigation -->
    </div><!-- End center -->

    I changed this to <?php wp_list_pages('title_li); ?>

    Which breaks the nav.

    Any further help gratefully received.


Topic Closed

This topic has been closed to new replies.

About this Topic