Light and Smart

描述

  1. Lighten your WordPress website by optimizing source code.
  • This plugin enables you to easily remove bunches of codes that is usually present on every page of your WordPress website but is rarely needed. Lighter and lean source code of the HTML pages generated by WordPress generally results in a faster load speed of the website itself.
  1. Enhance its usability by adding some analytics.
  • Secondly, this plugin enables you to easily add some analytics, namely Google Analytics (gtag.js), Google Tag Manager (with some possible restrictions depending on how up to date is your theme) and Facebook pixel (general abilities, only your Pixel ID is needed. In case you need a more fine grained control, please use the official WordPress integration tool provided by Facebook).
  1. Add Facebook OpenGraph (OG) meta tags in the section of your website, so that when a page or post is shared on Facebook, it has a featured image, some text, etc.
    • the tags added are:
      — og:locale
      — og:type
      — og:site_name
      — og:url
      — og:title
      — og:description (taken usually from the excerpt)
      — og:image
      — og:image:alt
      — article:published_time
      — article:modified_time

屏幕截图

  • Plugin Light and Smart settings page

安装

  1. Upload and extract light-and-smart.zip to the /wp-content/plugins/ directory
  2. Activate the Light and Smart plugin through the ‘Plugins’ menu in WordPress
  3. Go to Light & Smart Setting under the “Setting” menu in WordPress admin interface to select your desired options.

评价

2020 年 7 月 31 日
Okay, I’ve tested the plugin. It works as said on the description. This plugin is for the tiny bits of kilobytes that was left unoptimized, cleaning the WP emojis (who use them these days?) and removed the generator meta tag. This is enough to like the plugin already. Secondly – for those who’re installing heavy plugins just to include GA/GTM/FBP I believe this is an excellent option. Once when I used plugins for that I went trough couple and they were quite heavy for the only tasks that they have.
阅读所有1条评价

贡献者及开发者

「Light and Smart」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Light and Smart」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.1.1

  • Added ability to test OG tags for each post/page

1.1.0

  • Added Facebook OG tags option

0.1.0

  • First public version of the plugin.