Friday, November 15, 2024
HomeWordPress DevelopmentSub-pages of Customized Taxonomies - WordPress Improvement Stack Change

Sub-pages of Customized Taxonomies – WordPress Improvement Stack Change


I’m making an attempt to create fastened sub-pages of a customized taxonomy, which is extra vexing that it’d sound. Here is a state of affairs to explain the issue:

As an example you’ve gotten a web site about motion pictures. You write plenty of tales about motion pictures, so that you create a customized taxonomy known as ‘Films’ the place you add Citizen Kane, Die Exhausting, and Avatar. Finally, you’ve gotten 50,000 film pages, which seem like this:

/film/gremlins/
/film/brewsters-millions/

These pages include all your posts, however you additionally begin including metadata (ACF fields) to these pages — size, forged, trailers, photographs, and so forth. To this point so good.

However then, you finally notice you’ve gotten a lot knowledge on these pages that you simply need to create fastened subpages for some items of metadata, which could seem like this:

/film/gremlins/forged/
/film/brewsters-millions/forged/

How would you architect this? Abstractly, that is the pathing we search:

/[custom taxonomy]/[term]/[sub page]/ 

The back and front will at all times be the identical, so one might say it truly appears to be like like this in apply:

/film/[term]/forged/ 

All the knowledge for the forged web page is situated within the mum or dad’s ACF fields. I feel I simply want /film/[term]/forged/ to resolve to a particular template… probably even the identical template that /film/[term]/ resolves to. However I can not determine how to do this.

Or seemingly there’s another fully totally different means to do that.

Ideas?

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments