S
S
Sergei Gurdjiyan2018-03-22 21:47:55
WordPress
Sergei Gurdjiyan, 2018-03-22 21:47:55

How to move all styles in wordpress footer?

How to automatically move all styles to the footer of a Wordpress site?
Own styles are still clear, but what about plugin styles?
If you use autoptimize, then all styles are collected in one file, but displayed in the site header.
Are there any plugins for minifying styles, but with the output in the footer?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
Orkhan Hasanli, 2018-03-22
@mrKorg

Hello!
Autoptimize is the best! You can load styles in the footer, but to avoid problems with the display of the design, create critical CSS and paste it into Autoptimize (textarea area)
An easy way to create critical CSS is https://jonassebastianohlsson.com/criticalpathcssg...
I usually use on sites 3 plugins:
- Fastest Cache
- Fastest Cache Premium
- Autoptimize.
You can achieve 100 out of 100 on Pagespeed. (another question, but is it necessary =) )
Another equally good plugin for these purposes is
Page Speed ​​Optimization
https://wordpress.org/plugins/above-the-fold-optim...

V
Valery Alekseev, 2018-03-22
@aval12

A cursory search turned up this plugin. Not tested, but the description fits - https://wordpress.org/plugins/assets-to-footer/

Z
Zeoman, 2020-02-18
@Zeoman

I made a plugin just for this task. Lightweight, minimum code. Use)
https://ru.wordpress.org/plugins/css-to-footer/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question