WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Mobile Pack
How to remove pages from mobile menu? (3 posts)

  1. MMSG
    Member
    Posted 1 year ago #

    I have pages under construction in wordpress that are excluded from the site menu. However, in the mobile version, all the pages show up. Is there a way to select which pages appear in the mobile menu?

    http://wordpress.org/extend/plugins/wordpress-mobile-pack/

  2. MMSG
    Member
    Posted 1 year ago #

    I found this suggestion and am wondering if anyone can provide screenshots or step-by-step instructions.
    ----
    niccolo.mineo
    Member
    Posted 1 month ago #

    Hi fboese I found out how to have a completely independent menu:

    wp_nav_menu( array('menu' => 'MENU_SLUG' ));

    of course you have to create a custom menu in WP 3.0+ and of course the "menu" parameter inside the code is mandatory and you can pass a number of parameters (such as menu class or menu id). Check out the codex for them.

    Hope I helped.

    ---

  3. edecaria
    Member
    Posted 1 year ago #

    MMSG, I had the same problem and followed advice in another thread and it did not work, but [and here I'm cross-posting]:

    I was able to hide pages as desired using a plug-in called "Exclude Pages from Navigation" by Simon Wheatley. It embeds a checkbox in each post to include the page in navigation menus; by default it is checked, but if you uncheck the box, it removes the pages from WordPress Mobile Pack views.

    Note that in normal desktop view mode, the hardcoded pageIDs that I marked as hidden were still hidden even after activating the plug-in, which again is set to "include" pages in navigation by default.

    So, it seems to play very nicely with existing settings. Brilliant little plug-in. Got 5 stars from me.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic