Support Forum

Content of the article

WPBE - WordPress Posts Bulk Editor Professional
You need to log-in to create request (topic) to the support

Make the complete background of a closed filter clickable

(new from 01-07-2019)
If you not got email within 24 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here.
The support doesn work on saturdays and sundays, so some Friday requests can be answered on Monday.


i want that the user can click on the whole element of a closed filter instead just on the icon.

I have already installed the "Simple Spoiler" Plugin and inserted the shortcode. But the problem is, that I have one Spoiler for the whole filters. I want every filter in one own spoiler.

How is that possible?

Thanks in advance!



Try  this  option -


thank you for the quick reply. That works, but i can only click on the icon instead on the complete background. I think it will be a better user experience, if the user can click on the whole toggled element.


Best regards!


In this  case  you need  customize  JS


 file: path/to/domain/wp-content/plugins/woocommerce-products-filter/js/front.js
1. Finde function woof_init_toggles() and comment it.
2. Then add this function after the previous comment function:
function woof_init_toggles() {
jQuery('.woof_container_inner h4').life('click', function () {
if (jQuery(this).children().data('condition') == 'opened') {
jQuery(this).children().data('condition', 'closed');
if (woof_toggle_type == 'text') {
} else {
jQuery(this).children().find('img').prop('src', woof_toggle_closed_image);
} else {
jQuery(this).children().data('condition', 'opened');
if (woof_toggle_type == 'text') {
} else {
jQuery(this).children().find('img').prop('src', woof_toggle_opened_image);
return false;

Thank you so much for your help.

I´m sorry to say, but it doesn´t work. I dont see a change on the toggled buttons:

Do you have an idea, what part doesn´t work and how to solve it?

Thanks in advance!


Please paste  your  license  key here -