(Working of off an existing team that the client already purchase.)
I have a WordPress install with a couple of custom post types:
- portfolio
- testimonials
I’ve set the taxonomy to hierarchical' => false,
, the tagging options are available in the backend and I can display them on the front-end.
However, when I click one of the tags, I go to the list of standard posts with that tag, not to the list of custom posts (portfolio or testimonials) with that tag.
Is it possible to display both regular and custom posts in the same taxonomy?
Filter
pre_get_posts
:More examples in our tag pre-get-posts.