Restricting Terms for post type archives having the same taxonomies

Hi,

I have three custom post types for a resource site (Reviewed, Unreviewed, and Holding) and all use the same taxonomy list (eg., Documents, Booklets, Web pages, Slides, etc.).

On the archive pages for these three post types, I have a Terms element to display the taxonomy terms so the results can be filtered (eg., between Documents, Booklets, etc).

When the looper provider is set to All Terms (and Exclude empty terms) it shows the terms that belong to the other custom posts also (because they use the same taxonomy list).

But if I set the looper provider to Current Post Terms, it only shows the first term that appears in each archive. For example, if I have a Booklet, and a Document resource in the Reviewed archive, it only shows “Booklet” in the Terms list. If I have a Web page resource and Slides resource in the Holding archive, it only shows “Web page”, and the other term/s are missing.

I want the archive and term links to only display and connect to the terms associated with that particular post type.

I know I can set up three separate identical taxonomy lists, one for each post type, to solve the problem, but the idea is that I want to be able to upgrade the resources or posts from Holding, to Unreviewed, to Reviewed easily without reselecting terms for each resource every time.

Each post type has the same ACF Field Group attached to it so that each resource post submitted will remain the same as it is eventually upgraded from Holding, to Unreviewed, to Reviewed over time.

How can I restrict the Terms in the Term element to show only those resources associated with that particular post type archive? I would have thought using Current Post Terms would do that.

This site is being locally developed and is not yet online.

Thanks.

Hello @markwattchow,

Thanks for writing in! Aside from Documents, Booklets, Web pages, Slides, are there other terms? What’s the name of the taxonomy? It is best that you create a staging site online so that we can double check your set up. It would also best that we have a clear idea of what you are trying to accomplish. We can easily give a much concrete solution if we have a clear picture on the structure and the relationship of the taxonomy to the other custom post types that may have not been mentioned in your post.

Best Regards.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.