michaelB-32
Support threads created in the last 30 days: 0
Favorite Forum Topics
This user has no favorite topics.
Forum Topics Created
Status | Topic | Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Filter by taxonomy and checkboxes custom fields not working
Started by: michaelB-32
in: Toolset Professional Support
Problem: I have a custom search View with one taxonomy filter and several checkboxes groups filters. When I choose any of the checkboxes, no results are found. Solution: There is a problem with the syntax for all the checkboxes filter control shortcodes. The code that was in place for the Arts & Culture field, for example, was like this: [wpv-control-postmeta field="ac-types" type="checkboxes" url_param="ac-types" output="legacy"] However, the correct format for the field attribute should include the wpcf- prefix for the field slug, like this: [wpv-control-postmeta field="wpcf-ac-types" type="checkboxes" url_param="ac-types" output="legacy"] I suggest adding the wpcf- prefix to each checkboxes group filter control shortcode slug. Relevant Documentation: |
3 | 7 | 4 years, 12 months ago | ||
Problems with SiteOrigin Pagebuilder
Started by: michaelB-32 in: Toolset Professional Support |
2 | 4 | 6 years, 8 months ago | ||
Conditional statement in filter for checkboxes not working
Started by: michaelB-32
in: Toolset Professional Support
Problem: I have a custom search View that includes several checkbox filters grouped under the heading "Select Features". I have activated the "Only show available inputs" option and I'm using AJAX updates. When no checkbox filters are available, this section becomes empty. I would like to remove the heading when no checkboxes are shown. Solution: There is no built-in way to connect a filter heading with the filters grouped underneath it, but you could use custom JS and CSS to manipulate the DOM as needed. The Frontend Events button in your Filter Editor's JS panel will produce a template you can use to tap into filter changes or pagination events. Use "jQuery" instead of "$" in these callbacks for best results. |
2 | 4 | 6 years, 9 months ago |