An enhanced version of Gravatar for WordPress.
- Clone this repo to the
wp-content/plugins
directory of a WordPress installation composer install
yarn install
yarn build
- Activate plugin
- Configure plugin from the Settings > Discussion page
The JS and CSS needs to be compiled. You can do this in development mode, which will monitor for updates to the files:
yarn start
If you want to build production files (minified and without debugging) then:
yarn build
Please update the following information in the relevant files before releasing:
- The Version and the const in
gravatar-enhanced.php
- The Stable tag and "Changelog" section in
readme.txt
- The version in
package.json
A release packages up all the JS, CSS, and PHP files into a clean directory without any development tooling.
yarn release
The plugin will be available in the release
directory.
To produce a released and versioned distribution of the plugin run:
yarn dist:github
This will produce a zip file, upload it to Github, and mark it as an official release.
You can sync this to the WordPress.org SVN repo with:
yarn dist:svn
You will need appropriate permissions.
Through the magic of WordPress Playground you can use the released plugin in WordPress.org by clicking this link:
Open and use WordPress with Gravatar Enhanced
You can use yarn blueprint
to generate this URL.