Plugin not working when I try to place all the javascripts to the bottom
-
Hi,
Currently, I see, script is being called inside the <body></body>. Please guide me if there is any alternative available.
For increasing the performance, I am calling all the JavaScripts in the footer. Doing this, meta slider is not getting displayed in any pages.
Thanks
Himani
-
Hi
Please give me your url so that I can check this
CEdHello
The Website Url is http://www.accessrealtytampa.com!This the page I am using Slideshow which isn’t getting displayed after writing the below code into my functions.php file.
//Custom Scripting to Move JavaScript from the Head to the Footer
function remove_head_scripts() {
remove_action(‘wp_head’, ‘wp_print_scripts’);
remove_action(‘wp_head’, ‘wp_print_head_scripts’, 9);
remove_action(‘wp_head’, ‘wp_enqueue_scripts’, 1);add_action(‘wp_footer’, ‘wp_print_scripts’, 5);
add_action(‘wp_footer’, ‘wp_enqueue_scripts’, 5);
add_action(‘wp_footer’, ‘wp_print_head_scripts’, 5);
}
add_action( ‘wp_enqueue_scripts’, ‘remove_head_scripts’ );// END Custom Scripting to Move JavaScript
- This reply was modified 7 years, 7 months ago by Himani Lotia.
ok, I will test your code by my side and let you know in fex days π
Thank you for the kind support π
could you please test this version and tell me if it works
https://dl.dropboxusercontent.com/u/8539690/slideshow-ck_1.0.18_test.zipHey,
It’s working π
thank you for your feedback, I will update the plugin accordingly π
Thanks again for your kind support π
Should I revert back to an Original SlideshowCK Plugin?
Also, please can you tell me if this plugin is SEO Friendly or not?
please keep your version, I will update it in the repositroy. I’m just a bit busy these days π
“if this plugin is SEO Friendly or not”
>> there is no problem with the seo as the images are added by Javascript. The code in the page is made with <div> tags with the text and attributesCEd
Ok, Thanks a lot again π
Hi
Please keep the version that I have sent to you for now, I had to revert back to 1.0.18 because the modifications caused the slideshow to not work in other conditionsI will continue to work on this and let you know !
CEdOkie!
after a long day, I have released the 1.0.21 version. I have tested it and by my side it works using your code to put the scripts in the footer
Please let me know π
Hey,
It’s working Perfectly π
Thanks again π
wouhou, I solved all the problems yesterday, with 3 versions in the same day lol
thank you for your request and your feedback.
CEd
- The topic ‘Plugin not working when I try to place all the javascripts to the bottom’ is closed to new replies.