Skip to main content
6 events
when toggle format what by license comment
May 27, 2020 at 13:03 comment added FreddieE @JacobPeattie, thanks for this. If these have to be different, do you know how you would have the post and taxonomy term nested under the custom post type slug? Whenever I try to achieve this either the term or the single-post page shows no results found? (e.g. domain.com/custom-post-slug/taxomomy-term/post-title)
May 27, 2020 at 11:42 comment added Tom J Nowell my understanding of the code above is that both the terms, and the posts share exactly the same URL structure, which is a big problem, e.g. if I visit domain.com/wbc-activity-page/home/ is that for a CPT with the slug home or a term with the slug home? You can't have clashes
May 27, 2020 at 11:41 comment added Jacob Peattie Taxonomies and post types can't have the same rewrite slug. When you go to wbc-activity-page/wbc-post-1/, WordPress thinks wbc-post-1 is a taxonomy term, which is why it can't find any posts. They'll need to be different.
May 27, 2020 at 11:22 history edited FreddieE CC BY-SA 4.0
added 26 characters in body
May 27, 2020 at 11:16 review First posts
May 28, 2020 at 15:05
May 27, 2020 at 11:15 history asked FreddieE CC BY-SA 4.0