Speed up wp admin
-
Do not load css and js in wp admin if site reviews gutenberg blocks is not allowed and
In our case we only load it frontend with shortcode in templates so I do not need it to load in wp admin which just adds extra code to render.
Maybe best way for you is to add a setting to enable gutenberg or shortcode or both with thick boxes. If only shortcode is selected do not load the style and scripts in wp admin on each post:
/wp-content/plugins/site-reviews/assets/styles/site-reviews-admin.css?ver=4.2.7
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Speed up wp admin’ is closed to new replies.