• Hello,

    I already know how to exclude pages from the menu with the excluding tag. But i don’t really know in which page i have to insert that code. I don’t have a wp_list_pages data or something. I’m using the OrangeScale Laila/Butterfly 1.0 by T. Arie Setiawan Theme.

    Thanks,

    md

Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter acmaxblog

    (@acmaxblog)

    Please i need help!

    A link to your blog would be appreciated so that we could see the menu you are talking about.

    Thread Starter acmaxblog

    (@acmaxblog)

    There is probably a wp_list_pages in the header php file. Look there and change the parameters.

    Thread Starter acmaxblog

    (@acmaxblog)

    No there isn’t. I can’t find it. I’ve already tried to put the code in a few lines in header.php but it doesn’t work.

    Then, you’ll have to look in your other files. I would start with the main index file. Perhaps it is there. Without downloading the entire theme myself and looking, I’m just making a guess.

    You don’t need to put the code in. It should already be there.

    Thread Starter acmaxblog

    (@acmaxblog)

    No I don’t find it! I have a few other themes and there it really stands like wp_list_pages etc. But in my theme…no.

    look at another theme and identify the position it is in… back up your theme and add it yourself along with your code. Trial and error…

    Luck is good!!!

    Thread Starter acmaxblog

    (@acmaxblog)

    Ok i found this in the header.php of another theme:

    <?php wp_list_pages(‘sort_column=menu_order&depth=1&title_li=’); ?>

    I don’t really know where to put the exlude stuff. The Page ID is 15.

    Thread Starter acmaxblog

    (@acmaxblog)

    Ok. Now I’ve tried many variations but nothing worked out…

    Help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Excluding Page from the Menu’ is closed to new replies.