Hello. I installed a product filter on my site. But when you first open the page, it looks like it is shown in image number 1. After reloading the page, it is displayed correctly (image 2) Tell me what the problem may be? I understand that this is possible due to the fact that I use the AJAX loader, but this function is necessary for me. How can I solve this problem? Thanks
Second question. Can I enable your theme filter, which is used to filter albums, only for single woocommerce products?
Probably the filter is not compatible with PJAX (Page Loading via AJAX). Check with the author of that plugin if there is a Javascript function you can call to init the plugin. You can add custom JS call in WP-Admin > Theme Options > Custom CSS/JS. The JS function you put there will be called every time a page has loaded.
You will need to check with the author of that plugin if it can work. Im very not familiar with this plugin.
The other solution is to turn off PJAX specifically for this page by adding 'no-ajax' (without single quotes) css class on your menu item that leads on that page.
For the theme filter, which theme filter are you referring to exactly?
Hello. I installed a product filter on my site. But when you first open the page, it looks like it is shown in image number 1. After reloading the page, it is displayed correctly (image 2) Tell me what the problem may be? I understand that this is possible due to the fact that I use the AJAX loader, but this function is necessary for me. How can I solve this problem? Thanks
Second question. Can I enable your theme filter, which is used to filter albums, only for single woocommerce products?
Hi,
Probably the filter is not compatible with PJAX (Page Loading via AJAX). Check with the author of that plugin if there is a Javascript function you can call to init the plugin. You can add custom JS call in WP-Admin > Theme Options > Custom CSS/JS. The JS function you put there will be called every time a page has loaded.
You will need to check with the author of that plugin if it can work. Im very not familiar with this plugin.
The other solution is to turn off PJAX specifically for this page by adding 'no-ajax' (without single quotes) css class on your menu item that leads on that page.
For the theme filter, which theme filter are you referring to exactly?
Thanks,
Max from the Sonaar.io Crew
Ok, I'll check it out. Thanks! As for the second question, I have already found a solution. Thank you for your help!
in WP-Admin > Theme Options > Custom CSS/JS > Custom JS:
https://d.pr/i/QU99Th
Thanks,
Max from the Sonaar.io Crew
Yes, it works! Thank you for your help! I appreciate it!
You are welcome
Thanks,
Max from the Sonaar.io Crew