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


  1. 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. 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?

  3. Mark Szymanski
    Permalink to comment#

    Never mind on the ‘anonymous’ thing…

Leave a Comment

Posting Code

We highly encourage you to post problematic HTML/CSS/JavaScript over on CodePen and include the link in your post. It's much easier to see, understand, and help with when you do that.

Markdown is supported, so you can write inline code like `<div>this</div>` or multiline blocks of code in triple backtick fences like this:

  function example() {
    element.innerHTML = "<div>code</div>";

We have a pretty good* newsletter.