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] Remove menu from frontpage

Old Nov 27, 2012, 08:31 AM
2 posts · Nov 2012
I'd like to have a Wordpress-frontpage without a menu in the Montezuma-theme.

I tried to edit the header.php sub-template like
<?php if ( !is_front_page() ): {
wp_nav_menu( .....existing code .....
But the php-code is not parsed and appears as text at the beginning of the header.
Tried the internal and an external editor....

What am I doing wrong ? Is there another approach ?

Thanks in advance.
Old Nov 27, 2012, 02:14 PM
lmilesw's Avatar
10,174 posts · Jul 2009
Central New York State USA
I believe you can create a home.php or front-page.php depending on whether your front page is latest blog posts or a designated page and edit that template by taking out the get header line and replacing with all that is in header.php. Then remove the code that calls the menu.
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
Old Dec 1, 2012, 11:01 AM
2 posts · Nov 2012
Thanks a lot for your reply. Worked like a charm !


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] remove header from frontpage (static page) marec Header configuration & styling 18 Jun 6, 2011 07:32 AM
Frontpage slideshow positioning on frontpage amadeu Center area post/pages 0 Jan 15, 2010 11:16 AM
Frontpage only help! PKM@1LineMedai Atahualpa 3 Wordpress theme 8 Apr 2, 2009 05:22 AM
Create Alphabetical Menu in Frontpage rudianaeva Atahualpa 3 Wordpress theme 1 Mar 30, 2009 09:10 AM

All times are GMT -6. The time now is 06:31 PM.

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