• I have a site with a large number of pages and so I don’t want the page list to appear in the header, as it looks unwieldy and a list of pages appears in one of the sidebars, so it doesn’t have to be there anyway.

    I have zip experience with code, when I went in and checked out the Header template nothing jumped out at me, but that could easily just be the fact that I don’t know what I’m looking for.

    If anyone can tell me how to edit the code so that a list of pages DOESN’T appear across the header, that would be perfect. As stated in the topic, I’m using the New Yorker 3.0 theme.

Viewing 4 replies - 1 through 4 (of 4 total)
  • and the theme can be downloaded from <insert a link to exactly where you downloaded the theme from> ?

    Thread Starter thedoubleagent

    (@thedoubleagent)

    Oops!

    Yeah, that would probably be helpful, wouldn’t it?

    Right here

    inside header.php, near the end of the text inside it you’ll find:

    <?php wp_list_pages('title_li=&depth=1'); ?>

    removing that bit of code will remove the list of pages. It’s at the end of the unordered list so that might affect the display — play with it and adjust as necessary if so.

    Thread Starter thedoubleagent

    (@thedoubleagent)

    Worked like a charm. Thanks for your assistance – if you’re ever in Melbourne, Australia, there’s a free beer coming your way.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Editing Header for New Yorker 3.0 theme to not show pages’ is closed to new replies.