Community Forums › Forums › Archived Forums › General Discussion › How to Customize Metric Menu
- This topic has 15 replies, 4 voices, and was last updated 11 years, 9 months ago by Bill Murray.
-
AuthorPosts
-
December 28, 2012 at 4:40 pm #8021harooki2Member
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 #8027Bill MurrayMemberGenesis 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.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 28, 2012 at 5:33 pm #8028harooki2Member"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 #8032Bill MurrayMemberIn 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.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 28, 2012 at 5:49 pm #8033harooki2MemberWell, all of that sounds beyond me. But thanks for the response anyway, Bill.
December 28, 2012 at 7:27 pm #8055SusanModeratorAre 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');
}
}December 28, 2012 at 7:36 pm #8057harooki2MemberMaybe so. Do I put this in the functions.php?
December 28, 2012 at 7:38 pm #8060SusanModeratorTo 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.
December 28, 2012 at 7:50 pm #8062AnitaCKeymasterI 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/
Need help with customization or troubleshooting? Reach out to me.
December 28, 2012 at 7:52 pm #8063AnitaCKeymasterOkay, 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.
Need help with customization or troubleshooting? Reach out to me.
December 28, 2012 at 7:53 pm #8064AnitaCKeymasterOkay, 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.
Need help with customization or troubleshooting? Reach out to me.
December 28, 2012 at 7:54 pm #8065AnitaCKeymasterOkay, 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.
Need help with customization or troubleshooting? Reach out to me.
December 28, 2012 at 7:55 pm #8066AnitaCKeymasterOkay, 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/
Need help with customization or troubleshooting? Reach out to me.
December 28, 2012 at 10:14 pm #8084Bill MurrayMember@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.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
December 29, 2012 at 9:59 am #8139harooki2MemberThe 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.
December 29, 2012 at 10:30 am #8159Bill MurrayMemberYou'll need to clarify what you want. You said you want the squeeze page to be the "first page anyone sees." Do you want people to see your home page as it exists now? If the answer is yes, you can follow the instructions on creating a landing page in the link Anita provided. Then, change any menu item to point to the landing page. You can do that via the "Custom Links" on Appearance->Menus where you use the link to your landing page and whatever menu label you want. Keep in mind that once visitors reach the landing page, you will have to provide them a way to reach the original content that is available on the link as it currently exists, because they won't have an easy way to reach that.
Think long and hard before you embark on what you say you want because it will involve completely redoing how visitors interact with your site.
Web: https://wpperform.com or Twitter: @wpperform
We do managed WordPress hosting.
-
AuthorPosts
- The forum ‘General Discussion’ is closed to new topics and replies.