Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

Noah Laurent
Noah Laurent
3,080 Points

Site planning and navigation best strategy

Subject: site planning and navigation strategy

Hello, Im currently developing a small project of my own called tour.pt (Portugal), I’m still stuck on site planning and navigation so I need someone to shine a light on the matter.

main page: blog featuring latest posts in each category from all cities + a select city option

Should cities be main categories or pages? I assume they will have to be <strong>pages</strong>..

so, tour.pt/<strong>city-1-page</strong> > displays featured posts about city-1, the problem is, I would need a custom menu for this specific page:

where-to-stay | eating-out | see&do | about-city-1 | trivia

because each city is unique and "where to stay, eat and do" options change from city-1 to city-2.

Any thought that might help? p.s. IM USING Genesis

Thanks

1 Answer

Liam Maclachlan
Liam Maclachlan
22,805 Points

Hey man.

This is never the funnest part of the project :)

Have you thought about setting up each of the top level category (Cities) with a child category of 'featured' that you can manually change as you write a newer post? Then you can simply change the front page to show the posts that are in the 'featured' category.

There is a less maintenance heavy way of doing this and that is with a custom WP loop that will pull the latest blog of each top level category (Cities). If you aren't comfortable with custom WP loops then I would suggest the other option :)

What is the second problem, though? I'm not sure I fully understand. You could use a custom menu that displays a link to the top-level category and then have sub-items of the menu as links to articles based around that city:

  • City (top-level category)
  • where-to-stay (nested category)
  • eating-out (nested category)
  • see&do (nested category)
  • about-city-1 (nested category)
  • trivia (nested category)

Hope this helps. Feel free to ask anything else if I haven't quite got this right :)

Cheers Liam

Liam Maclachlan
Liam Maclachlan
22,805 Points

Check these two link out, too. They are great for site planning and keeping in mind the full scope of a project :)

Article - http://www.kaushik.net/avinash/digital-marketing-analytics-ladder-step-by-step-success/

Awesome UX course - http://teamtreehouse.com/library/ux-basics