Grouping Custom Post Types
-
I have a problem with the structure of a planned site. I want to build the following structure with following requirements:
Structure
– Publications
— Studies
— Magazines
— ArticlesRequirements
The URL structure should be for example:/publications/studies/study-1/1-facts/1-1-fact-details
/publications/magazines/magazine-08-2013
/publications/article/article-anythingThe Breadcrumb for Studies should be:
Home > Publications > Studies > Study 1
(no matter on what subpage of the study the user is)Alongside publications are other custom post types (events, topics, ..). The problem is, that Studies, Magazines and Articles need to be combined under Publications and the Studies have many many Subpages (a printed study can have more than 300 sites, avery part and chapter need to be mirrored to one single page).
My plan was to add a CPT called Publications, add three parent pages (Studies, Magazines, Articles), and for Magazines and Articles I create a subpage for every entry. This will be working fine I think. But I think it is very confusing if I add hundreds of subpages to studies. My plan was to create the Entrypage for the study, and from this I add a ID of CPT Study via Custom Field. Problem with this is, that I can’t navigate through the study without breaking the permalink structure mentioned above, and it breaks also the Breadcrumb.
Maybe the solution with CPT is wrong, but I get no good other idea. Maybe setting another parent from another CPT is a choice, but than I can’t get the permalinks working correct.
Have anybody some thoughts for me?
The topic ‘Grouping Custom Post Types’ is closed to new replies.