• Resolved substitute

    (@substitute)


    Hi gang!

    So here it is : I have a top navbar, I’d like to remove some pages form it.
    So i could use a plugin like Exclude pages of write some code such as
    <?php wp_list_pages(‘exclude=1978,1292,1297,2086’); ?>.

    Now the plugin remove those pages indeed.

    The code doesn’t I may get it wrong and would appreciate some help my header.php reads as such:
    <?php wp_list_pages(‘title_li=’); ?> where should I add the exclude ?
    I’ve tried and it messed the website and returned a syntax error…

    NEXT, it does remove the pages allright but then I am also using a widget Flexi Pages to display some popular pages on the sidebar. But If I remove those pages from the navbar they don’t show in the sidebar either, ruining my efforts.

    My aim is to have : Home, Faq, Contact and Advanced Search in the navbar and Blogs/News/Libworm/videos in the side bar only.

    Any idea how I could achieve that?
    Thanks

    https://ace.dpwatch.com

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to remove a page from navbar not the usual question’ is closed to new replies.