Skip Navigation

[Resolved] Creating front-end filters

This thread is resolved. Here is a description of the problem and solution.

Problem:

I'd like to do is provide a couple of different kinds of filters on the front-end, see details here:

https://toolset.com/forums/topic/creating-front-end-filters/#post-919062

Solution:

I suggest you begin with our document:
https://toolset.com/documentation/user-guides/front-page-filters/
Building Custom Searches for Any Content Type

See details here:
https://toolset.com/forums/topic/creating-front-end-filters/#post-919198

Relevant Documentation:

https://toolset.com/documentation/user-guides/front-page-filters/

This support ticket is created 6 years, 6 months 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 3 replies, has 2 voices.

Last updated by Luo Yang 6 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#919062
front-end-filters.png

Tell us what you are trying to do? A page on my site (hidden link) has is a listing of Student Works (a custom post type). What I'd like to do is provide a couple of different kinds of filters on the front-end. Please refer to front-end-filters.png for a mockup of the design illustrating the filters. Can someone tell me where to begin? Might this be a good subject to discuss via a Google Hangout?

Is there any documentation that you are following? No.

Is there a similar example that we can see? See attached.

What is the link to your site? I'd like to put front-end filters on a page like this one: hidden link

#919198
relationship-filter.JPG

Hello,

I suggest you begin with our document:
https://toolset.com/documentation/user-guides/front-page-filters/
Building Custom Searches for Any Content Type

In my opinion, you can to try these:
1) The filter "All Thesis Project", you can setup it as custom taxonomy, for example "Work category"
https://toolset.com/documentation/user-guides/create-custom-taxonomies/

2) Filter "Author", if I am right, it is another post types, with one to many relationship with "Students", then you just need to add a relationship filter in the search form, see screenshot relationship-filter.JPG

3) Filter "Keywords", it should be a input box, see above document, section "Adding text-search for custom fields"
https://toolset.com/documentation/user-guides/front-page-filters/#2-5-adding-text-search-for-custom-fields

4) Sort by "", yes, it is another built-in feature of Views plugin, see document:
https://toolset.com/documentation/user-guides/allowing-visitors-to-sort-the-front-end-results/

#919492

These links are great. Thanks so much, Luo! I'll give it a shot and let you know if I have any further questions. 🙂

#919667

You are welcome