Welcome, guest!

Feel free to read the blog, browse for themes, or join the club.

How To Hid Individual Pages

  1. I would like to make a few of the pages in my blog be hidden and not displayed in the page navigation in Hybrid News.

    How can I do this?

  2. From:

    http://themehybrid.com/themes/hybrid/navigation

    Something like this:

    <?php
    add_filter( 'wp_page_menu_args', 'custom_page_nav' );
    
    function custom_page_nav($args) {
    
    	$args['exclude'] = '4,5,6';
    
    	return $args;
    }
    ?>

    where 4,5,6 are the IDs of the pages you want excluded

  3. Thank you, Kyle!

    It works perfectly!

    For anyone looking for page ID's this post might help - http://www.techtrot.com/wordpress-page-id/

Reply

You must log in to post.

Limited Access

If you have an account, please take a moment to log in.

Non-exclusive members have limited access to the support forums.

To enjoy the full range of support, sign up for an exclusive membership in the theme club.

Support Forums

  • Core Framework (53 posts)
  • Hybrid Theme (22,808 posts)
  • Bliss Theme (255 posts)
  • Options Theme (10,362 posts)
  • Visionary Theme (767 posts)
  • WordPress (192 posts)
  • WordPress Plugins (2,150 posts)
  • bbPress Themes (308 posts)
  • General Discussion (5,616 posts)
  • Critical Theme (2 posts)
  • Hybrid News Theme (160 posts)
  • Hybrid Original Theme (32 posts)
  • Leviathan Theme (16 posts)
  • Life Collage Theme (21 posts)
  • Old School Theme (3 posts)
  • Outline Theme (121 posts)
  • Skeleton Theme (46 posts)
  • Structure Theme (2,774 posts)
  • Members Plugin (2 posts)
  • Cleaner Gallery Plugin (14 posts)
  • Get the Image Plugin (3 posts)
  • Message Board Plugin (0 posts)
  • Widgets Reloaded Plugin (0 posts)
  • Breadcrumb Trail Plugin (0 posts)
  • Query Posts Plugin (86 posts)
  • Hybrid Hook Plugin (7 posts)
  • Hybrid Hook Widgets Plugin (0 posts)
  • Hybrid Tabs (6 posts)