The homepage navigation is meeting our needs well, but having that huge chunk of navigation on every page of the site isn't practical. We'll need something more understated for the sub pages of the site.

In this screencast we create that subpage navigation, just a row of links we can place underneath the header. The only big consideration is how we handle "Store", which is an external link to Etsy.com.

Comments

  1. User Avatar
    Kristoffer
    Permalink to comment#

    Hey Chris ;) whats the reason for hardcoding the navigation here? wouldn’t it be better to be able to change the nav through the backend later?

  2. User Avatar
    Mark Szymanski
    Permalink to comment#

    Seems like you’d probe want the sub-nav on every page except the homepage. In which case do you think it would be better to put the include in the header.php and just use css or php to hide the sub-nav on the homepage?

    On an aside, I cant figure out why it’s posting me as ‘anonymous’ when I’m logged in?
    -Mark

  3. User Avatar
    Mark Szymanski
    Permalink to comment#

    Never mind on the ‘anonymous’ thing…

Submit a Comment

Posting Code

You may write comments in Markdown. This makes code easy to post, as you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences (```) with double new lines before and after.

Code of Conduct

Absolutely anyone is welcome to submit a comment here. But not all comments will be posted. Think of it like writing a letter to the editor. All submitted comments will be read, but not all published. Published comments will be on-topic, helpful, and further the discussion or debate.

Want to tell us something privately?

Feel free to use our contact form. That's a great place to let us know about typos or anything off-topic.

icon-closeicon-emailicon-linkicon-logo-staricon-menuicon-searchicon-staricon-tag