How to Customize Metric Menu

Community Forums Forums General Discussion How to Customize Metric Menu

This topic is: not resolved

Tagged: , ,

This topic contains 15 replies, has 4 voices, and was last updated by  Bill Murray 1 year, 8 months ago.

Viewing 15 posts - 1 through 15 (of 16 total)
  • Author
    Posts
  • #8021

    harooki2
    Participant
    Post count: 9

    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.

    #8027

    Bill Murray
    Participant
    Post count: 575

    Genesis 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.

    #8028

    harooki2
    Participant
    Post count: 9

    “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.

    #8032

    Bill Murray
    Participant
    Post count: 575

    In 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.

    #8033

    harooki2
    Participant
    Post count: 9

    Well, all of that sounds beyond me. But thanks for the response anyway, Bill.

    #8055

    Susan
    Moderator
    Post count: 8741

    Are you looking for something like this:

    Metric Theme Squeeze Page

    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 posts

    #8057

    harooki2
    Participant
    Post count: 9

    Maybe so. Do I put this in the functions.php?

    #8060

    Susan
    Moderator
    Post count: 8741

    To 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 posts

    #8062

    Anita
    Participant
    Post count: 7568

    I 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/


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #8063

    Anita
    Participant
    Post count: 7568

    Okay, 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.


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #8064

    Anita
    Participant
    Post count: 7568

    Okay, 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.


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #8065

    Anita
    Participant
    Post count: 7568

    Okay, 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.


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #8066

    Anita
    Participant
    Post count: 7568

    Okay, 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/


    When asking for help, please provide a link or screen shot showing your problem!
    Let me help you customize your theme, responsive header, Buddypress, Agentpress or technical issue!
    Visit me here: Cre8tiveDiva.com | Tweet Me!

    #8084

    Bill Murray
    Participant
    Post count: 575

    @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.

    #8139

    harooki2
    Participant
    Post count: 9

    The 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.

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in to reply to this topic.