• Hi,

    nice mobile theme. I’d like to hide some (or all) of my pages. The posts are fine, but my pages are hierarchical and some are simply not supposed to be displayed.

    How would I do that?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter gravitydk

    (@gravitydk)

    I thought I found it in the base theme header.php.
    I remove
    <?php wp_list_pages('title_li=&depth=1'); ?>

    then clear its cache from within the transcoder plugin directory. That didn’t work, though.

    I have this same question and tried this same thing. My pages are unimportant or much less so than the posts. I don’t want them at the top, I’d prefer them at bottom or not there at all. I cannot figure out how to take them out or move them.

    I had a lot of pages and so I edited the header.php and removed the code

    <div id="menu">
          <?php
            global $wpmp_theme_menu_location;
            if (function_exists('wp_nav_menu') && $wpmp_theme_menu_location) {
              wp_nav_menu(array(
                'theme_location'=>$wpmp_theme_menu_location,
                'menu_class'=>'breadcrumbs'
              ));
            } else {
              ?>
                <ul class="breadcrumbs">
                  <?php if (get_option('wpmp_theme_home_link_in_menu')=='true') {?>
                    <li class="<?php if (is_home()) { ?>current_page_item<?php } else { ?>page_item<?php } ?>"><a href="<?php bloginfo('url'); ?>/" title="<?php __('Home', 'wpmp'); ?>"><?php __('Home', 'wpmp'); ?></a></li>
                  <?php } ?>
                  <?php wp_list_pages('title_li=&depth=1'); ?>
                </ul>
              <?php
            }
          ?>
        </div>

    and it works fine;

    Thread Starter gravitydk

    (@gravitydk)

    Thanks for the update.
    I am using Wapple mobile architect instead for the time being. (It’s very good).

    Thread Starter gravitydk

    (@gravitydk)

    That edit works, thank you.
    I stopped using Wapple because it was creating google crawler errors (bad URLs somehow).

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: WordPress Mobile Pack] Hiding some or all pages?’ is closed to new replies.