Attention WordPress bloggers! Our developer Will has just created an awesome and free Altmetric WordPress plugin that allows you to insert Altmetric donuts and badges into any blog post. Now you can easily insert a colourful donut into your text, just as it’s done on the Interactions posts of the Altmetric blog. For example, the WordPress plugin was recently used to display donuts in the April High Five.
Step 1: Manually install the plugin (.zip) into WordPress.
It’s extremely simple to get started. First, download the Altmetric WordPress plugin (.zip file), and go into Plugins → Add New on WordPress. You have the option to directly upload the plugin as a .zip file. (This blog post provides useful guidance in installing plugins manually.) Once the .zip file has been uploaded, navigate to the Plugins dashboard page and click on “Activate” for the “Altmetric embeds” plugin.
We’ve submitted the Altmetric plugin to WordPress, so in the future, it will be much easier to install straight from the WordPress Plugins Directory. We’ll let you know when our plugin is available there.
Last thing: to install future updates, you will need to deactivate and delete old versions of the plugin.
Step 2: Start embedding!
Let’s say you want to embed a donut that shows all the online attention surrounding this Nature news article. Find out its DOI first, and then, insert the following shortcode into your post:
[altmetric doi=”10.1038/nature.2012.9872″ float=”right” example=”after”]
You can also easily customise how you want the donut or badge to appear on your blog. Just modify the appropriate tags in the pasted shortcode. You can modify parameters such as positioning, popover style, detail display, and more. For more information, refer to the detailed documentation.
Step 3: Show off to the world.
We’d love to see how you’re using the donuts, so if you decide to install the plugin, send us a link to your blog via Twitter or e-mail. Also, if your blog post isn’t showing up when you click on the donut to check a paper’s article details, then please get in touch and we’ll double-check that we’re tracking your blog.