Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Fixing a render-blocking issue won’t actually decrease the page speed, it just gives the illusion that the page speed is decreased. The idea is to delay some resources until a later time so that it doesn’t cause the website to show a white screen when it’s loading.
Re-upload your theme so that your changes are erased, ignore the advice people give you edit your files and just install this plugin: https://wordpress.org/plugins/scripts-to-footerphp/
andrew, i sow in other topic that this plugin destoy some things on page, im afraid to testit
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
That’s okay, maybe another (I haven’t researched others): https://wordpress.org/plugins/search.php?q=render+blocking
i instaled first plugin, but now on speed mobile from 76/100 to 77/100, what setings to do on that plugin?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
It should just work as-is, but it won’t work under one condition. That is, themes and plugins should have been built to utilize the ‘wp_enqueue_scripts‘ function correctly. So, I’m guess that condition isn’t being met.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Which theme are you using?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Oh that’s a shame, it’s a commercial theme so I can’t really help with that. Do your theme’s vendors provide any support for their themes?
i can give you this theme if you can helping me…. you whant?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
This is usually an easy fix because you can use a plugin, but it is not an easy fix in this case. The plugin is not faulty, it highlights an issue in the way the theme was put together.
However, it does sound like you want to fix the issue for the sake of meeting Google criteria. I say that because the advice you were following, “replace <head>…” only circumvents Google’s criteria. It doesn’t resolve the issue. If you’re okay with that, then you should continue with that person’s advice and maybe you can use CSS to hide that stuff at the top of your page. The CSS will be masking the code, but the code itself is masking the original problem so at least it’s consistent 😉
i find on google on a website that head replace, but is not for wordpress, is for blogger, and i realy need to meeting google criteria. can you help me?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
Try this..
If you’re not using a Child Theme, and if the theme doesn’t have a section for CSS modifications then do the following:
- Install this Custom CSS Manager plugin http://wordpress.org/plugins/custom-css-manager-plugin
- use its “CSS Code” section of the dashboard to hold your CSS modifications:
-
(put this code in)
body {
margin-top: -20px;
}
- Save
Alternatively use your Child Theme style.css file to hold your CSS modifications
what you mane child theme?
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
You probably haven’t set one up, so I recommend that plugin instead
i instaled that plugin, and i set that cod in , but no change, you can check pls