WordPress.org

Ready to get started?Download WordPress

Forums

Excluding Page from the Menu (11 posts)

  1. acmaxblog
    Member
    Posted 8 years ago #

    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

  2. acmaxblog
    Member
    Posted 8 years ago #

    Please i need help!

  3. jwurster
    Member
    Posted 8 years ago #

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

  4. acmaxblog
    Member
    Posted 8 years ago #

  5. jwurster
    Member
    Posted 8 years ago #

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

  6. acmaxblog
    Member
    Posted 8 years ago #

    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.

  7. jwurster
    Member
    Posted 8 years ago #

    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.

  8. acmaxblog
    Member
    Posted 8 years ago #

    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.

  9. mickemus
    Member
    Posted 8 years ago #

    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!!!

  10. acmaxblog
    Member
    Posted 8 years ago #

    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.

  11. acmaxblog
    Member
    Posted 8 years ago #

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

    Help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.