Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Montezuma Theme »

[SOLVED] How can i exclude?


  #1  
Old Sep 26, 2012, 02:31 AM
pixeltrader
 
3 posts · Sep 2012
Hello, thanks for this great Theme. I will send in the next Days something over Paypal. But i have a little Question: How can i exclude a page (not mean single) from the Menu

I can't find in the files a wp_list_pages so that i can exclude a Page. Is there any possibility to do that

Thanks for your Help,

Michael
  #2  
Old Sep 26, 2012, 03:51 AM
Jam's Avatar
Jam
 
1,112 posts · Mar 2011
Perth, Western Australia
Plugin http://wordpress.org/extend/plugins/exclude-pages/

or if you are using the WP menu, just dont add that page.

Unless I dont get your question right?

Its not a theme thing (havent looked specifically at this theme though), just WP navigation.
__________________
May the learning curve never plateau... Thanks Larry for teaching me heaps.
My Themeframe built sites
  #3  
Old Sep 26, 2012, 04:03 AM
juggledad's Avatar
juggledad
 
23,667 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
Montezuma doesn't use wp_list_pages, it uses wp_nav_menu in header.php
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Sep 26, 2012, 05:50 AM
pixeltrader
 
3 posts · Sep 2012
Thanks Jam and juggledad for your Reply's

I found this Tutorial for wp_nav_menu: http://bacsoftwareconsulting.com/blo...menu-function/

Location: /wp-content/themes/montezuma/admin/default-templates/sub-templates/header.php

PHP Code:
        <?php wp_nav_menu( array( 
            
'container' => 'nav',
            
'container_class' => 'menu-wrapper col7',
            
'container_id' => 'menu1-wrapper',
            
'menu_id' => 'menu1',
            
'menu_class' => 'cf menu',
            
'theme_location' => 'menu1',
            
'exclude' => '152',
            
'fallback_cb' => 'bfa_page_menu'
        
) ); ?>
But it works not, the specially page will displaying in the menu.
  #5  
Old Sep 26, 2012, 06:38 AM
pixeltrader
 
3 posts · Sep 2012
Ok, i make it with the Menu Options from WP. It works now. I work to long with wp_list_pages LOL

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Exclude pages vavr Page & Category Menu Bars 10 Jan 30, 2012 03:29 AM
Exclude post from frontpage ecoevo Center area post/pages 2 Oct 2, 2010 11:18 AM
I'd like to exclude all the subpages of a page Tesha Atahualpa 3 Wordpress theme 2 Oct 2, 2010 07:34 AM
Exclude categories from %categories_linked% bodger Post-Kicker, -Byline & -Footer 1 Oct 19, 2009 06:12 AM
Exclude Cat Bar From Page Steve_T Atahualpa 3 Wordpress theme 1 Jul 15, 2009 08:11 PM


All times are GMT -6. The time now is 11:05 PM.


Powered by vBulletin® Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.