Skip Navigation

[Resolved] business directory that uses ajax to sort two custom taxonomies

This support ticket is created 4 years ago. There's a good chance that you are reading advice that it now obsolete.

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.

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)

This topic contains 1 reply, has 2 voices.

Last updated by Luo Yang 4 years ago.

Assisted by: Luo Yang.

Author
Posts
#2263845
Screen Shot 2022-01-11 at 12.03.08 PM.png

I have a custom post type "business directory" and I'd like to display its posts in a grid and then use two custom taxonomies to sort them on the fly.

Is that possible? I've tried using the archive templating option but that was kind of confusing.

#2264235

Hello,

I assume we are talking about the "Filter by" sidebar of your screenshot.

It is possible with custom search form, you can try these:
1) Setup a custom post type "business directory"
https://toolset.com/course-lesson/creating-a-custom-post-type/
2) Create custom taxonomies, and register them to post type "business directory"
https://toolset.com/course-lesson/creating-a-custom-taxonomy/
3) Then follow our document to setup the view block, and filter the result by custom taxonomies
https://toolset.com/course-lesson/creating-a-custom-search/
And display the result in grid mode
https://toolset.com/course-lesson/responsive-columns-and-grids/#using-grid-features-in-views-and-archives