• Skip to main content
  • Skip to header right navigation
  • Skip to site footer
iGuRu

iGuRu

Real-time Technology News. Opinions & Tweaks

  • / news
  • / infosec
  • / tools
  • / tweaks
  • / dummies
  • / opinions
  • / support
  • / yourpost
home / tweaks / Wordpress: Set Up Above The Fold for Better Speed

WordPress: Set Up Above The Fold for Better Speed

11/10/2017 21:13 by giorgos

If you are into WordPress and want to speed up your site, setting up Above The Fold is a must.gtm - Wordpress: Set up Above The Fold for better speed

What does Above The Fold mean and why does Google consider it important?

The PageSpeed ​​Tools Google has repeatedly cited Above The Fold as a very important factor that can speed up or slow down your website.

Above The Fold or above the aspect is called the first half of the front page of a newspaper or a website that often contains an important story or photo. The web pages do not appear in full to the visitors of a site and usually only the upper half is visible.

So what Google is asking websites to do is prioritize the CSS on the top half of the site, so that it loads faster.

Along with this CSS it would be good not to have any javascript at the top of the page, but make sure they load at the end, near the footer.

The following images show the source code in the header and footer of iGuru.gr. You will notice that there is no javascript in the header, just as there is no CSS in the footer.

Header
header - Wordpress: Setting Above The Fold for better speedFooterfooter - Wordpress: Adjust Above The Fold for better speedSomewhere here we will talk about the add-on Autoptimize.

With Autoptimize we will collect the CSS of your page, and we will make Above The Fold.

The following image shows you the CSS settings

auto - Wordpress: Set Above The Fold for better speedBut what code do you use in the last box Inline "abobe the fold CSS"?

Find the style.css file that uses the theme you selected. It is located in wp-content / themes / iguru where iguru is the name of your theme.

Attentionor, the post is about WordPress self-hosted installations, not sites hosted by WordPress.com.

  • WordPress 4.9 what's new coming from the upcoming version

Open the file with your favorite editor (notepad ++ or geany on Linux) and copy all the code it contains.

Immediately after, open the following page (it contains an automated tool that will detect the Above the fold code for you).

https://jonassebastianohlsson.com/criticalpathcssgenerator/

Write the url of your website, and below the large box paste the code you copied from style.css.

css - Wordpress: Set up Above The Fold for better speedWith a click on 3. Create Critical Path CSS, you will see the code that you will copy and paste in the Inline box "abobe the fold CSS" of Autoptimize.

css 1 - Wordpress: Set up Above The Fold for better speedSave your settings in Autoptimize and you're ready to go. Immediately after you can test the result in GTMetrix. You must first delete all cached files.

Stay tuned for higher speeds!

  • Windows 10: The Great Journey of Paid Reliability
WordPress: Set Up Above The Fold for Better Speed was last modified: October 11, 2017, 9: 13 mm by giorgos

spread the news

  • Facebook
  • Twitter
  • Reddit
  • Printing
  • Email

Read them Technology News from all over the world, with the validity of iGuRu.gr

Follow us on Google News


Competition: tweakstag: abobe, click, I'm sure, javascript, style

You May Also Like

Do you have anything to post? Send it to Your Post
What is a NoSQL injection vulnerability?
Gootkit returned in parallel with REvil ransomware

About Us giorgos

George still wonders what he's doing here ...

Previous Post: « Israeli hackers have discovered NSA tools in Kaspersky
Next Post: WP Engine bid 20% for each new order »

Reader Interactions

Comment Policy:

IGuRu.gr does not publish the comments immediately. Malicious comments, comments that include ads, or comments that are offensive are deleted without notice. We do not adopt the opinions expressed by our readers.
Your comments will be displayed after approval by the administrators


Leave your comment
Ακύρωση απάντησης

Your email address is not published. Τα υποχρεωτικά πεδία σημειώνονται με *

 

 © 2021 · iGuRu.gr · ☢ · Keep It Simple Stupid Genesis theme

about  ·   get in touch  ·  rss  ·  sitemap  ·  cough

loading Cancel
Could not post post - check your email address!
Email verification failed, please try again
Your blog can not post posts via email.