Forums

[resolved] Include, exclude and mimbo theme (5 posts)

  1. simonwiller
    Member
    Posted 3 years ago #

    Hello people

    I have been trying to figure out the problem for two days now. I am using the theme called Mimbo / DEMO.

    In the top is the menu, which is the pages being listed. I don't want all of my pages to show up in the menu. I have tried <?php wp_list_pages('exclude=17,38' ); ?> and <?php wp_list_pages('include=7,13,26,35&title_li=<h2>' . __('Pages') . '</h2>' ); ?>, but none of them seems to work.

    Can anyone please help me???
    Thanks!!

    Simon

  2. Samuel B
    moderator
    Posted 3 years ago #

    try this
    <?php wp_list_pages('title_li=depth=1&exclude=17,38'); ?>

  3. simonwiller
    Member
    Posted 3 years ago #

    Thanks for trying! But is does not work.

    When I use: <?php wp_list_pages('include=2,3&title_li=' ); ?> is is only page 2, that is showing up.

  4. simonwiller
    Member
    Posted 3 years ago #

    I think I solved my self! Thanks....

  5. kutu
    Member
    Posted 2 years ago #

    How did you exclude post from lead story area?

Topic Closed

This topic has been closed to new replies.

About this Topic