permalinks – What is the best way to relate different custom post types?


I think a better approach for this would be to create a single nested (hierarchical) custom post type.

For example, it can be series.

Then a single series named sample-series as a top level post of series post type:

Then seasons named season-one, season-two etc. can be children of sample-series, like:,

Similarly, episodes can be children of those seasons, like:, etc.

Same thing can be done by default by WordPress page, since pages are by default hierarchical.

Mr Mousio 2 months 2023-02-01T16:49:32-05:00 0 Answers 0 views 0

Leave an answer