Viewing 4 replies - 1 through 4 (of 4 total)
  • What i was intending to suggest apparently doesn’t work..

    Can you clarify on exactly how it didn’t work.. did nothing happen? did you get a blank screen? did you see an error message?

    The parameter for excluding pages works for me, so i can only assume the issue lies with how you tried to use the code.

    Example exclude page.

    <?php wp_list_pages( 'exclude=1' ); ?>

    Where 1 should be the ID of the page you want to exclude (the ID is shown in the URL when editting a page).

    Thread Starter ttehaute

    (@ttehaute)

    Hello Mark,

    I put your code and the correct ID page on my header.php :

    [code removed by t31os]

    In fact this page appears in my header like there is no modification :
    http://www.yoannromano.com/ok/

    http://wordpress.pastebin.com/f8k4rnaa

    Replace your file’s code with the above.

    NOTE: Scroll down the pastebin page and copy the text from the text box further down, else you’ll end up with all the line numbers and other junk amongst the code.

    Thread Starter ttehaute

    (@ttehaute)

    Thanks a lot, it works !

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘How to remove page from header’ is closed to new replies.