Separate include/exclude for main and second menus

Forums Forums Menus Separate include/exclude for main and second menus

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #687
    kino
    Member

    Hello !

    It seems that it is not possible to have separate include/exclude-lists of pages and categories for main menu and second menu.

    I tried searching the forums, but didn’t find any hack that would allow this, so let this be a feature request <img decoding=” title=”Smiley” />

    Best regards,
    Jukka

    #5594

    I’ll add this to my todo list. I don’t think it will be added for quite a while though as I am too busy at the moment.

    #5595
    katootje
    Member

    I second this request. Is there another way to exclude pages in the second menu – like you do in the wp_list_pages with the exclude parameter? I have a bilangual website and need two different menu’s.

    #5596

    The latest test version can be set to allow PHP in the admin panel which would allow you to use the wp_list_pages function if you wanted:
    https://geek.hellyer.kiwi/forum/http://local … 4564#p4564

    #5597
    katootje
    Member

    Thank you, this will help a bit. But with using wp_list_pages I loose the possibility to have a second level menu, since wp_list_pages don’t support that. And that was the reason to use the multilevelnavigation plugin.

    #5598

    The wp_list_pages function does support a second level. In fact that is what this plugin uses, I haven’t written a new script to create pages, it just uses the regular wp_list_pages function when the ‘Pages’ and ‘Pages (single dropdown)’ options are chosen. More information about the function is available here … http://codex.wordpress.org/Template_Tags/wp_list_pages

    #5599
    Diver
    Member

    This is old topic,but I’d like to ask :
    Is there any (not necessary from admin panel) method to exclude page from second menu  in multi-level-navigation  wordpress plugin? How to do this in code  ? I saw something about [code:fz96ozrl]<?php wp_list_pages(‘title_li=exclude=5,3’) ?>[/code:fz96ozrl]
    but how exactly to use it ?

    P.S.
    PixoPoint Menu Plugin cannot use because there, I cannot assign for the second menu to display pages like in main menu.

    P.P.S.
    Also Installed Multi-level Navigation Plugin – Advanced Addon from here: https://geek.hellyer.kiwi/forum/index.php?topic=854.15%5B/url:fz96ozrl%5D

    BTW with download linkhttps://geek.hellyer.kiwi/forum/index.php?action=dlattach;topic=854.0;attach=151%5B/url:fz96ozrl%5D with archives is broken,so I was intended to search in google to download it.

    So,such code

    [code:fz96ozrl][php] wp_list_pages(‘exclude=5,3’); [/php][/code:fz96ozrl]
    in custom code field not working.
    In menu it shows  the code itself instead of pages.

    Thanks in advance.

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.