Support » Themes and Templates » [Plugin: WordPress Mobile Pack] how to remove pages or use a custom menu

Viewing 3 replies - 1 through 3 (of 3 total)
  • In your header template, you can find the wp_list pages tag, and edit it to exclude/include the pages you want. Below is an example of how I only included certain pages.

    <?php wp_list_pages(‘include=1061,104,2293,282,1573,672,82,8,3345&title_li=&depth=1’); ?>

    Hi. I was having the same issue as the original poster, and tried the edit suggested by asorethumb. It does not seem to clean up the page list displayed by the mobile pack. I tried both an include text string and an exclude text string. I definitely did it in the right theme and in the right .php file, so I’m not sure what I’m missing. Any other thoughts on how to address the visibility of what would otherwise be hidden pages in the desktop version? Thank you for any and all support. -Ed

    In case anyone else comes across this issue, 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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] how to remove pages or use a custom menu’ is closed to new replies.