-
bergam
ParticipantHello,
I am using a child theme. My technical knowledge is limited but I have done some caching and moved js code to the footer via a plugin today. Then I have optimized the images via another plugin. Now the page speed is fine but there appeared some gaps between the post excerpts on both blog page and on the home page.
My website is: http://www.evdeas.com
I would be grateful if you can help mme to see what I did wrong and how to correct it as these gap are bothering me so much.
Thanks.
Daniel Tara
KeymasterYou have only moved the linked scripts to the footer and left the inline scripts in the header. You need to remove the function
pinboard_call_scripts
from thewp_head
hook and move it to thewp_footer
hook. In functions.phpadd_action( 'wp_head', 'pinboard_call_scripts' );
replace with:
add_action( 'wp_footer', 'pinboard_call_scripts' );
bergam
ParticipantHello Daniel,
Thank you very much for your reply but it did not seem to be solving the problem. Could that be caused by something else please?
Many thanks again.
bergam
ParticipantHello again,
I have removed the plugin and that solved my problem. My page speed declined again and Google tells me to Remove Render-Blocking JavaScripts but I have no idea how to do that without a plug-in.
Would you be able to help? I hope I am not asking for too much.
Many thanks.
- This reply was modified 11 years, 3 months ago by bergam.
Daniel Tara
KeymasterTry increasing the priority of the footer call:
add_action( 'wp_footer', 'pinboard_call_scripts', 30 );
bergam
ParticipantStill no luck, I still have 8 render-blocking scripts but thanks for the effort. It is appreciated. I guess I will have to live with this page speed.
Daniel Tara
KeymasterIt probably depends on the efficiency of the plugin you are using. Try WP Minify.
Tagged: child theme, gaps
You must be logged in to reply to this topic.