PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

Inline script preventing jQuery to move to the footer

This support system is for all types of the plugins as for premium versions, so for free ones! If you have premium version do not forget in the private data of the request (!!not in the text of the support request!!) after its publishing insert purchase code please (see blue-green button on the right side) and press Save button.
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hello,

at the end of the file "do_mdf_search_form.php" you have dynamic inline script, which preventing jQuery to move to the footer (Google reports block rendering by jQuery script).

 

I move your dynamic inline script to the footer using wp_add_inline_script() function. This is the only one way I have succeeded to move your dynamic inline script to the footer.

When I move jQuery and also your dynamic inline script to the footer, filtering does not work, at least in AJAX mode. (I have your dynamic inline script under the jQuery script).

 

Is there any other way, what can be done, to move your dynamic inline script to the footer?

Or even another way, other solution than using dynamic inline script at the end of the file "do_mdf_search_form.php"?

Thank you very much for you help.

 

David

Hello David

Unfortunately it is not that easy

and at the moment there is no possibility to move this code