A friend was asking how to make the Header Navigation on the Genesis theme Altitude Pro only be 1 level on the home page but show all the levels on the interior pages.

Here is how I suggested it be done

https://gist.github.com/lorennason/b01bb8c9cd2dc999635c0a7169e36f84

The inspiration came from Bill Erickson’s post on Customizing Menu Arguments.

I just added an extra statement to apply only when on Front Page

2 Comments

  1. Patrick Healy on March 30, 2016 at 8:58 pm

    This worked like a charm Loren. Thanks so much for putting this together. It absolutely made my life easier. I’m wondering if it would work with other genesis child themes as well. Maybe all one would need to do is change the label for the navigation if it had another name in that particular theme?

    • Loren Nason on March 30, 2016 at 9:16 pm

      Yes, technically it will work with any genesis theme. It doesn’t matter what theme it is nor even if it’s genesis actually.

Leave a Comment