You can call that slider function again when search results updated. You can use following js event it will trigger after search results update.
jQuery( document ).on( 'js_event_wpv_parametric_search_results_updated', function( event, data ) {
/**
* data.view_unique_id (string) The View unique ID hash
* data.layout (object) The jQuery object for the View layout wrapper
*/
YOUR CUSTOM CODE GOES HERE
});
Relevant Documentation:
This support ticket is created Il y a 6 années et 9 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
I am trying to:
set a filtereditor, which works, to push items of a cpt in a Slider construct. This all works fine but when i filter the slider stop working.
I dont find the Problem and i saw no difference in Source Code in the Site.
Slider loads a horizontal.js at load.
Can you help me?
Link to a page where the issue can be seen:
lien caché
the Second Slider with Headline "OBJEKTE IM SELBEN PROJEKT:"
I expected to see:
the filtered items are slideable in SlySlider
Instead, I got:
after you load the filter (only click enter - the button is not show) and all Items go to sort in 3 columns
Thank you for contacting Toolset support. When I visited this link and change the filter values, then slider does not break: lien caché
When I select the radio option and click “Enter” from keyboard then slider breaks. But this is not the correct behaviour of filters if AJAX is enabled in the View. Means without clicking “Enter” the results should filter.
Could you please also try to check it by deactivating all third-party plugins (except Toolset) and switching back to the Default Theme (e.g. Twenty Sixteen theme) to see for any possible conflicts with any of the plugins or themes?
yes, please provide temporary access WP-Admin Login and FTP login info to your site. Your next answer will be private which means only you and I have access to it.
=== Please backup your database and website ===
✙ I would additionally need your permission to de-activate and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important.
When search trigger, then slider content get updated according to new matching results that’s why slider stop working. We need to re-initialize slider.
You can call that slider function again when search results updated. You can use following js event it will trigger after search results update.
jQuery( document ).on( 'js_event_wpv_parametric_search_results_updated', function( event, data ) {
/**
* data.view_unique_id (string) The View unique ID hash
* data.layout (object) The jQuery object for the View layout wrapper
*/
YOUR CUSTOM CODE GOES HERE
});