0

The structure would be something like this.

Main site

  • About Us
  • Our Staff
    • Person A
    • Person B, etc
  • Catering Service
    • About Catering Service
    • Staff of Catering
      • Person 1
      • Person 2, etc
    • Articles of Catering
      • Article 1, etc
  • Wedding Service
    • About Wedding Service
    • Staff of Wedding Service
    • and so on...

What would be the best way to approach this kind of site?

I was thinking of making each subsites (catering, wedding, etc) as custom post types. The CPTs would be: "Main Site", "Catering Service", "Wedding Service", etc.

Then each CPT has their own taxonomy which would be: "About", "Staff", and "Articles". It would be then easy (there is a solution in other question) to set the permalink to be something like:

http://website.com/posttypes/taxonomy/post-title/

(e.g.) http://website.com/catering/staff/person-1/

Initially it seems sound. However I'm not sure if this approach is the best solution. It's kinda hackish.

I prefer not using multisite.

Any tips or something that I should consider before moving forward?

1

Logic suggests that:

  • "Services" is taxonomy.
  • "Catering" and "Wedding" are parent terms.
  • "Staff" and "Articles" are child terms.
  • "About Parent Term", "Person N" and "Article N" are either CPTs, posts or pages.
  • "About Us", "Our Staff" and other accessories are the set of hierarchical pages or whatever.
5
  • This is great. However, what if the person overlaps? Say, Joe would appear both in /Catering/Staff/ and /Wedding/Staff. How would I make so if someone was brought to Joe's page from Catering, the design will show the Catering sub-business' design. Meanwhile, if someone was brought from Wedding, the design will show Wedding's design.
    – deathlock
    Mar 26 '19 at 11:09
  • I meant to ask: how to show different design on one page (Joe) that depends on where did the user coming from?
    – deathlock
    Mar 26 '19 at 11:10
  • Different design are about different templates and are off the scope of this question. Try to build a template and ask then.
    – Max Yudin
    Mar 26 '19 at 17:02
  • I know how to build different templates. What I was trying to ask is, with your structure, how would one same page can have two different designs depending on where did the user coming from?
    – deathlock
    Mar 27 '19 at 10:09
  • Okay, I end up opening a another question dealing with that exact question: wordpress.stackexchange.com/questions/332721/…
    – deathlock
    Mar 27 '19 at 10:10

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.