2

I am working on a site for a client that is going to be structured very similarly to a store (though without the e-commerce capabilities). I am getting a bit hung up on how to output page content in two places. I'll explain. The site structure will be as follows:

  • Windows
    • Casement Windows
    • Double Hung Windows
      • Brand A
      • Brand B

You can see here the windows are organized by type of window. Other navigation will have the opposite (by brand) where it will go Windows > Brand A > Double Hung Windows. My plan is to have each window product be its own page in WordPress, but I need a way to output it that page content in two places. In one place it will have the brand navigation and the other will have the type navigation. Any ideas on the best way to do this?

  • Two taxonomy terms seems the obvious way to go. – vancoder Apr 10 '13 at 21:38
  • @vancoder Can you explain a bit more? Do you mean make each product as a post and then group them with both categories & tags (or other custom taxonomies) and output them that way? – Andrew Apr 10 '13 at 21:44
  • 2
    Make each product a post (a CPT if you like), and associate 2 new taxonomies with it: brand and type. This give you lots of flexibility in how you organize and present your posts. No tags are necessary. – vancoder Apr 10 '13 at 21:47
  • @vancoder Great idea. I wasn't thinking of it that way, but that can be very powerful. Thanks! – Andrew Apr 10 '13 at 21:48
  • The codex is your friend: custom taxonomies – vancoder Apr 10 '13 at 21:50
1

As per vancoder's comment under the OP's question:

Make each product a post (a Custom Post Type if you like), and associate two new taxonomies with it: brand and type. This give you lots of flexibility in how you organize and present your posts. No tags are necessary.

The codex is your friend: Custom Taxonomies.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.