Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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
Lightbulb [SOLVED] How can i exclude?

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,765 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



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 04:25 PM.


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