• Hey all, I’m new here. Using Marianne’s Crop Circles theme, but 1 problem. I’ve got a number of sub-pages under a main page, and I don’t want these to show up as links on the main navigation, because the sheer amount of pages & sub-pages I have is pushing the links over on to the contents of my weblog. Ideally I’d have a pop-up menu for sub-pages, and only have links to my main pages.

Viewing 3 replies - 1 through 3 (of 3 total)
  • I took a look at that theme, and the menu of pages you are talking about is in the header.php file.
    It is using the wp_list_pages tag.
    https://codex.www.ads-software.com/Template_Tags/wp_list_pages
    I’m not sure what you would need to set the depth to as the codex doesn’t explain that one too well, but my guess would be to set it to one.
    <?php wp_list_pages(' ',' ',' ',' ','depth=1',' ',' ','title_li='); ?>
    I THINK this is what you would want to substitute for the `<?php wp_list_pages('title_li='); ?>' in your header file.

    Thread Starter kamikazenaz

    (@kamikazenaz)

    Cheers miklb, I’ll try it out now and let you know.

    Thread Starter kamikazenaz

    (@kamikazenaz)

    Hey miklb, ‘depth=1’ works fine, had to also do “Display No Heading” because the heading “Pages” was lurking behind. Ended up with
    <?php wp_list_pages('depth=1&title_li= ' ); ?>
    Cheers

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Theme: Crop Circles. Prob: Navigation’ is closed to new replies.