Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

GSP Assets Manager (Easy Live Assets Editor)

Skildring

Once you install WordPress with some plugins and finish customizing your theme, you usually stock with performance issues.
Installing and configuring a good caching plugin, you will enhance your first byte and website speed, but you getting low rank on google page speed.
The reason for that, each WordPress plugin come with it\’s assets (js/scss files) and most of them are not really used or required, but WordPress does not offer a way to control those injected files in your themes.
GSP Assets Manager offer an easy way to list, review and control WordPress assets.
You can disable, move to the header, move to the footer, toggle async for javascript and WordPress without writing a single code.
The plugin also offer a live preview for CSS, so you can disable the CSS file and see the result directly on your website before you save, to avoid breaking the website style.

Skjermbilete

  • After instaling the plugin, got to plugin list and click «Run GSP Assets Manager»
  • Your website will open and you will see GSP plugin icon in the left side, move your cursor to it.
  • Now you can modify your assets, the assets will be grouped by plugins, uncheck the asset you don’t want to load, swtich between stylesheets and javascripts, you can see live changes for stylesheets loading/unloading, remember to save when you finish, Saving will refresh the website and if there is any javascript error you will get a message so you may re-enable a javascript file if you missed things up, also notice the roles list in the top, «All» role means everywhere (sitewide), but you can make special role to override the default.

Installasjon

Download the plugin zip file and upload to wp-content/plugins, then go to plugins and activate the plugin (GSP Assets Manager).
Or you can download it from wordpess plugins directory, by navigating to WordPress backend, then plugins, then add plugin and search for gspmgr.

Vanlege spm.

  • How the plugin works?
    The plugin simply filter the final output and apply the filter based on your configuration to remove or move js/css files
  • Does the plugin affect performance?
    No, the plugin tested well, and it use some milli-seconds to process the output.
  • What is rules ?
    Usually you start with default rule (All), all settings you apply in all rule will affect the whole WordPress website.
    But in many cases, you want to load css/js files for in special scenario, like you want to load woocommerce assets only for woocommerce but not in home page or single posts.
    or you want to load some assets for home page only but you don\’t want them in the rest of websites.
    in this case, once you finish setting up the \’all\» rule and save, select one of the special rule (like home or search) and click the override button.
    The plugin will load default rule, allowing you to modify and save, after that GSP Assets Manager will use apply the rule to the intended pages (like search for search pages)

Omtalar

Les 1 omtale

Bidragsytarar og utviklarar

“GSP Assets Manager (Easy Live Assets Editor)” is open source software. The following people have contributed to this plugin.

Contributors