Adding subnav only on specific pages
Posted 11 March 2010 - 11:41 PM
Posted 12 March 2010 - 01:16 AM
Posted 15 March 2010 - 10:14 PM
Posted 16 March 2010 - 12:46 AM
So what we'll want to do is add a condition to the subnav code:
Replace [page-slug-for-book1] with the appropriate page-slug. Same goes for the other two books.
Let me know if that makes sense.
Posted 16 March 2010 - 02:09 AM
Posted 16 March 2010 - 03:52 AM
Posted 16 March 2010 - 04:14 PM
Posted 16 March 2010 - 08:42 PM
Okay. So far so good! The new sub nav page is working as a separate drop down menu off the first. I'd also like it so that when you go to the You Cannot Be Serious subpage (off Books) you see the names of the subnav pages across the top of the page. So, if someone is in the You Cannot Be Serious page, they see across the top the various other pages they can go to from that page only (the first would be the Treat of the Moment).
Does that make sense? How do I do that?
Posted 17 March 2010 - 12:57 AM
Posted 17 March 2010 - 01:26 AM
Posted 17 March 2010 - 04:39 PM
Posted 17 March 2010 - 04:55 PM
That allowed the regular subnav to be there on the You Cannot Be Serious page (which is a sub page of Books) but it didn't allow the subnav pages of You Cannot Be Serious to be shown (see image attached).
When I go to the individual subnav pages of Books, the other pages show up on the right hand sidebar (see 2nd attachment), but from the main You Cannot Be Serious page, other than seeing it in the drop-down box, the user has no way to know that there are the Treat of the Moment, Inspiration, etc. page.
Posted 17 March 2010 - 04:57 PM