custom post types - How to approach a site where it has sub-businesses, each with its own pages ("articles", &

The structure would be something like this.Main siteAbout UsOur StaffPerson APerson B, etcCatering ServiceAbout Cateri

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:

/

(e.g.) /

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?

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/posttypes/taxonomy/post-title/

(e.g.) http://website/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?

Share Improve this question edited Jun 15, 2020 at 8:21 CommunityBot 1 asked Mar 22, 2019 at 6:31 deathlockdeathlock 5462 gold badges9 silver badges26 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 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.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745666380a4639146.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信