• I’m using LightWord 1.9.9.7 with WP 3.0.1 and for the life of me, I can’t get the “Exclude pages from front menu” setting to take. I enter the page IDs to exclude like the example, but the excluded page buttons still show up on the main nav. Any ideas? Thanks!

Viewing 1 replies (of 1 total)
  • hi FADmark,

    $cdefaults = array(
    ‘child_of’ => 0, ‘sort_order’ => ‘ASC’,
    ‘sort_column’ => ‘post_title’, ‘hierarchical’ => -1,
    ‘exclude’ => ‘67,115’, ‘include’ => ”,
    ‘meta_key’ => ”, ‘meta_value’ => ”,
    ‘authors’ => ”, ‘parent’ => 0, ‘sort_column’ => ‘menu_order, post_title’, ‘exclude_tree’ => ”,
    ‘number’ => ”, ‘offset’ => 0
    );

    Please read above code and implement in your menu function.
    Above defined ‘exclude’ => ‘67,115’ will ignore the page having 67 and 115 page id and will not display in your menu. This way you can list all those page ids separated by comma(,) that you don’t want to display in menu using ‘exclude’. And ‘include’ will have the list of all those page ids that you want to show.

Viewing 1 replies (of 1 total)
  • The topic ‘The 'Exclude Pages from Front Menu' setting isn't working’ is closed to new replies.