Linux 软件免费装

Plugin Name

开发者 Will Busby
更新时间 2015年9月8日 04:57
PHP版本: 3.0.1 及以上
WordPress版本: 3.4
版权: GPLv2 or later
版权网址: 版权信息

标签

Critical CSS Above the fold CSS

下载

详情介绍:

Adds a button to the admin bar that generates the Critical CSS for the current page in the javascript console. Strips out the #wpadminbar and #wp-admin-* strings for your convenience. Based on the code created by Paul Kinlan, which is here: https://gist.github.com/PaulKinlan/6284142

安装:

  1. Upload generateCritical.php and critical.js to the /wp-content/plugins/ directory
  2. Activate the plugin through the 'Plugins' menu in WordPress
  3. Go to the page where you want to generate the Critical CSS
  4. Click the 'Generate Critical CSS' button and go to your development console and click 'console'. The critical CSS should be here.