Skip Navigation

[Resolved] Set default category on taxonomy views filter

This support ticket is created 3 years, 4 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
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by benC-15 3 years, 4 months ago.

Assisted by: Minesh.

Author
Posts
#2109919

Tell us what you are trying to do?
Hi I want to set the Taxonomy filter default value, instead of ALL I want to automatically selects the custom taxonomy I have (Current artists) on page load.

What is the link to your site?
hidden link

#2110137

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

To set the default taxonomy term on page load you will have to use the custom Javascript/jQuery.

For example:

jQuery(document).ready(function($){

$("#artist-status-current-artists").prop("checked", true).change();

});
#2114023

My issue is resolved now. Thank you!