Community Forums › Forums › General Discussion › How to Customize Metric Menu
This topic contains 15 replies, has 4 voices, and was last updated by Bill Murray 4 months, 3 weeks ago.
-
AuthorPosts
-
December 28, 2012 at 4:40 pm #8021
I have a full-blown finished site at http://www.ifko.co/ with this theme, but I need to add a squeeze page. My purpose is to reduce the number of menu selections on that page and make the page simpler overall. I would like to keep my current setup, with all the pages intact, but just add the squeeze page as the first page anyone sees. I simply cannot make Genesis Simple Menus work, and I haven’t been able to find any instructions for this (that I can understand) in the forums. Can anyone help, please? It’s too late to change themes.
December 28, 2012 at 5:25 pm #8027Genesis Simple Menus has nothing to do with what you want to accomplish. That plugin only allows you to change the secondary navigation menu on a post or page, but you aren’t displaying a secondary navigation menu.
I’m not clear what you mean by “add the squeeze page as the first page anyone sees.” Do you mean that every link in the menu will first go to a squeeze page to encourage becoming a member? For that, you could use a membership plugin like S2 Member. Most of these plugins allow you to define premium content; if someone is already a member (ie, has access to premium content), they won’t see your squeeze page. If not, they will.
Twitter: @wpperform
December 28, 2012 at 5:33 pm #8028“Do you mean that every link in the menu will first go to a squeeze page to encourage becoming a member?”
No, that’s not what I mean. I mean that I want the squeeze page to be the home page. I’m using the WishList Member plugin for my membership features now.
I want to develop a squeeze page to which affiliates can drive traffic, using the core URL – ifko.co. But that squeeze page needs to be pretty bare, without all the menu links for sure. The rest of the site can remain the same. I’ll figure out how to get members around that squeeze page later.
December 28, 2012 at 5:43 pm #8032In concept, I suppose you could 1) change your home page to a static page and 2) set the page template of that page to a custom template you write. That template would use a series of remove_action instructions to remove the elements you want to remove. Of course, by doing that, users will never be able to reach the home page as it exists now.
However, Metric already uses the home.php template, so for your theme, you’d just modify home.php to meet your desired look for a squeeze page.
Twitter: @wpperform
December 28, 2012 at 5:49 pm #8033Well, all of that sounds beyond me. But thanks for the response anyway, Bill.
December 28, 2012 at 7:27 pm #8055Are you looking for something like this:
This is a static page (which Bill suggested above), with the menu removed:
//Remove Menu from page
add_action(‘get_header’, ‘child_remove_genesis_do_nav’);
function child_remove_genesis_do_nav() {
if (is_page(2)) {
remove_action(‘genesis_after_header’, ‘genesis_do_nav’);
}
}
Susan @ Graphically Designing I’d love to customize your website! I tweet!
I’ve taken up the challenge! – help me answer some of the unanswered postsDecember 28, 2012 at 7:36 pm #8057Maybe so. Do I put this in the functions.php?
December 28, 2012 at 7:38 pm #8060To remove the menu, you would put that in your functions.php, but you would have to replace the 2 in the example above with the page ID of your page. This only works for a page (or post) on your site – it won’t work for your landing page, unless you make your landing page a static page.
Susan @ Graphically Designing I’d love to customize your website! I tweet!
I’ve taken up the challenge! – help me answer some of the unanswered postsDecember 28, 2012 at 7:50 pm #8062I think this is what they are looking for. They need the landing page template which doesn’t come with the Metric theme. Brian Gardner has instructions on this.
http://www.briangardner.com/create-landing-page/
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 28, 2012 at 7:52 pm #8063Okay, I am trying to comment again and they are not showing up. I think they need the landing page template. Brian Gardner has instructions on this – http://www.briangardner.com/create-landing-page.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 28, 2012 at 7:53 pm #8064Okay, I am trying to comment again and they are not showing up. I think they need the landing page template. Brian Gardner has instructions on this –
I cannot type in the URL – Briangardner.com/create-landing-page.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 28, 2012 at 7:54 pm #8065Okay, I am trying to comment again and they are not showing up. I think they need the landing page template. Brian Gardner has instructions on this – click here.
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 28, 2012 at 7:55 pm #8066Okay, I am trying to comment again and they are not showing up. I think they need the landing page template. Brian Gardner has instructions on this – go to BrianGardner[dot]com/create-landing-page/
Twitter Handles: @thecre8tivediva | Website: Cre8tiveDiva.com | LinkedIn Group: http://goo.gl/nNe1m
Why Not Take The Challenge! – Help us answer some of the unanswered postsDecember 28, 2012 at 10:14 pm #8084@Anita & @Susan – The original poster said he’s looking to replace his home page, not a landing page. Since the Metric theme comes with a home.php, his best solution is to edit home.php and turn it into a landing page. He can use elements of creating a landing page described in Anita’s link. Those are the remove_action() elements in my original reply. To do that, he’d:
1) remove all of the HTML starting with <div id=”home-top-bg”> and ending with </div><!– end #home-middle-bg –>
2) add the remove actions; he can have a single opening PHP tag, and a single closing tag before the call to get_footer(), as in
<?php
remove_action(…);
remove_action(…);
?>
Once he has removed what he doesn’t want, he’ll have to add back the content that he does want, because he’ll be left with just a blank page.
Twitter: @wpperform
December 29, 2012 at 9:59 am #8139The original poster said he’s looking to replace his home page, not a landing page.
Actually, that’s not what I meant to say. I want a separate landing page. My original post said this:
I have a full-blown finished site at http://www.ifko.co/ with this theme, but I need to add a squeeze page. My purpose is to reduce the number of menu selections on that page and make the page simpler overall. I would like to keep my current setup, with all the pages intact, but just add the squeeze page as the first page anyone sees.
-
AuthorPosts
You must be logged in to reply to this topic.