[Resolved] Custom search of selected posts of one taxonomy

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Tagged: 

This topic contains 4 replies, has 2 voices.

Last updated by davidG-20 3 weeks, 1 day ago.

Assigned support staff: Shane.

Author
Posts
#1387249

Hi there.

I'm trying to do a custom search of posts of one taxonomy. I have several types of taxonomies but one of them is to select the posts that I want to show in the custom search.

That posts are for real state. I want to show the posts that have taxonomy called activated.

That posts have other kind of taxonomies like countries, location.... These taxonomies will be the filters in custom search.

Is it possible to do in a custom search with a lot of filters for only "activated posts"?

Thanks in advance.

#1387343

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi David,

Thank you fro getting in touch.

Actually yes this is possible.

All that is needed is to add a static filter to your view for the "activated" taxonomy.

This way your view will only select the posts that have this taxonomy term checked.

From there you can then create your frontend filters for your other taxonomy terms.

Please let me know if this is clear.

Thanks,
Shane

#1387375

HI Shane. Thanks for your quick answer.
You said -> All that is needed is to add a static filter to your view for the "activated" taxonomy. I'm looking for documentation to do it bit I didn't found anytghing about static filters.
Thanks again!

#1387389

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi David,

Here is the link to the documentation for this query.
https://toolset.com/documentation/user-guides/filtering-views-by-taxonomy/

Please let me know if it is clear.

Thanks,
Shane

#1387887

My issue is resolved now.
Thank you!