• HI,

    I want to exclude a thank you page (after form submits) from the nav. I have done this in other wordpress sites which have the simple <?php wp_list_pages(‘title_li=&depth=0&exclude=2,31’); ?> code for building menus. But in this one – using the Panorama theme the menu is seemingly built using javascript. I have also found this code in the functions.php:
    <
    function buildMenu(){

    $mo = ap_getPageMenuOrder();
    $exc = get_option(‘ap_pagesOmit’);

    $excString = (!empty($exc)) ? ‘&exclude=’ . $exc : ”;

    wp_list_pages(‘title_li=&sort_column=’.$mo. ‘&depth=-1’. $excString);
    return NULL;
    }
    >
    An I think i should be able to pop the page id to be excluded in here but I have tried to no avail.

    Can anyone help?

    thanks
    Liz

Viewing 1 replies (of 1 total)
  • La M

    (@lady_moocher)

    Hi Liz

    You can set which pages you want to exclude automatically under Appearance > Panorama Theme Options (/wp-admin/themes.php?page=functions.php)

Viewing 1 replies (of 1 total)

The topic ‘Excluding pages from nav – Panorama theme’ is closed to new replies.