WordPress.com Stats Sparkline

Adds a stats sparkline to the WordPress.com admin bar

As of 2016-12-30. See the latest version.

Author
tPenguinLTG
Ratings
0 0 0
Version
1.1.0
Created
2016-12-27
Updated
2016-12-30
Size
2.68 KB
License
MPLv2.0
Applies to

wpcom-stats-sparkline.user.js

WordPress.com has removed the view stats sparkline that was previously in the admin bar. Restoring it is under consideration, but until it is restored, this user script restores it.

Installation

If you don't already have one, install a browser extension that allows you to run user scripts. Then, install the script from Greasy Fork.

Alternatively, visit the URL below:

https://github.com/tpenguinltg/wpcom-stats-sparkline/raw/master/wpcom-stats-sparkline.user.js

Custom Domains

If you own a custom domain, you will have to add the domain to the script's includes. Go to the script's options in your extension and add the following as an include, where example.com is your custom domain:

https://example.com/*

If your extension does not have support for user includes, edit the script and add this after the @include line, again where example.com is your custom domain:

// @include https://example.com/*

Changelog

  • v1.0.0: Initial release
  • v1.1.0: Add support for custom domains