Support » Themes and Templates » Can;t get sub navigation categories to display

  • George

    (@george_design)


    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?

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    (@esmi)

    Forum Moderator

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

    http://codex.wordpress.org/Template_Tags/wp_list_categories

    George

    (@george_design)

    Hi

    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.

    George

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can;t get sub navigation categories to display’ is closed to new replies.