World Domination

外掛說明

🌎 Adds a summary of the current WordPress market coverage to your dashboard!

Basically screen scraping from the W3Techs website (don’t panic W3Techs, I’m caching the data – your website performance is safe!), this will display what percentage of websites (in total or that use CMS) are currently powered by WordPress. There are even shortcodes so that you can this information into your posts as well!

Now you can keep an eye on how close to world (aka internet) domination WordPress is achieving .

Iconography is courtesy of the very talented Janki Rathod ♥️

👉 Please visit the Github page for the latest code development, planned enhancements and known issues 👈

Using the shortcodes

There are two shortcodes [wp_total_market] and [wp_cms_market]. Simply add these, wherever you wish within a post or page, to display the latest total or CMS market share data.

螢幕擷圖

  • How it appears on the dashboard with Akismet enabled.

安裝方式

World Domination can be found and installed via the Plugin menu within WordPress administration (Plugins -> Add New). Alternatively, it can be downloaded from WordPress.org and installed manually…

  1. Upload the entire world-domination folder to your wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress administration.

Voila! It’s ready to go.

常見問題集

Hey! My dashboard figure is different to the one shown on W3Techs

For performance reasons I cache the dashboard information for one week so, if the market figure changes in the meantime, you will get this discrepancy. If you find this keeps happening, please let me know and I’ll look at refreshing the cache more regularly.

使用者評論

閱讀全部 1 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈World Domination〉的開發相關工作。

參與者

World Domination 外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈World Domination〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

I use semantic versioning, with the first release being 1.0.

2.0.3

  • Bug: Why, in the name of all things holy, did nobody not say that I was incorrectly referring to WordPress being a CRM and not CMS? I’m not angry, just disappointed. It’s now fixed, though.

2.0.2

  • Enhancement: Added some shiny, new plugin meta
  • Maintenance: You know how it followed WordPress.com coding standards before? Now it’s the WordPress VIP coding standards!

2.0.1

  • Enhancement: Code quality enhancements to bring it in line with WordPress.com VIP coding standards
  • Enhancement: Now uses wp_remote_get alternative when run on the WordPress.com VIP platform

2.0

  • Enhancement: Total re-write of the caching to ensure that if the data is not available previous information will be re-used (less chance of an error message as a result but, on the down side, may see older data as a result)
  • Enhancement: Sides shored up with lots of security additions – escape them all!
  • Enhancement: Now I show the CMS percentage on the dashboard and not just the overall one
  • Enhancement: Brand new shortcodes so that you can embed this information in a post if that’s your bag. Baby.
  • Enhancement: Using a time constant for the caching rather than hard-coding long strings of numbers that I’m only likely to type wrong
  • Enhancement: The Github links are on me! Now added to all the files and all the meta
  • Enhancement: When you hover over the dashboard link to the source it will now show you when the data was last updated
  • Enhancement: Added a timeout to the file fetching. Okay, so it’s the default (5 seconds) but it’s now easier for me to tweak that, if needs be
  • Bug: Some of the plugin meta was missing due to the wrong plugin name being used. Oops. Needless to say, it’s fixed

1.0

  • Initial release.