Skip Navigation

[Resolved] The content of the page doesn't match the URL.

The Toolset Community Forum is closed, for technical support questions, please head on to our Toolset Professional Support (for paid clients), with any pre-sale or admin question please contact us here.
This support ticket is created 7 years, 2 months ago. There's a good chance that you are reading advice that it now obsolete.
This is the community support forum for Types plugin, which is part of Toolset. Toolset is a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients and people who registered for Types community support can post in it.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 7 years, 2 months ago.

Assisted by: Luo Yang.

Author
Posts
#490207

I am trying to: pull up the "Central Island" (custom "Location" taxonomy") listings for just "Fishing" (post type), but it pulls up the "Central Island" listings for all my post types

I visited this URL: hidden link

I expected to see: just the Fishing listings for Central Island

Instead, I got: all the post type listings for Central Island

The Location taxonomy is applied to 7 different post types. I thought it would bring up only the one indicated in the URL.

#490266

Dear elsie,

This is expected result, in the custom taxonomy archive page, wordpress will retrieve all custom posts which is connected with the taxonomy. In your case, I suggest you try with wordpress action hook pre_get_posts, to limit the post types parameter, for example, the solution in another thread:
https://toolset.com/forums/topic/remove-cpt-from-categorycategory-slug-page-2/#post-381274

More help:
https://developer.wordpress.org/reference/hooks/pre_get_posts/

The forum ‘Types Community Support’ is closed to new topics and replies.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.