EDIT: Some themes lacked the proper hooks for us to work properly. We added in some additional code to help make sure those themes could still take advantage of our plugin and thus have now released 2.0.3.
We are proud to announce that we have just released version
2.0.2 2.0.3 of the AddThis for WordPress plugin. This version includes multiple fixes and some enhancements to customized versions of what you see.
Enhanced Template Tag
To take advantage of our enhanced template tag, you just need to add the following code to your theme:
do_action('addthis_widget',$url , $title, style);
Url is the url that you want to share, title is the title you want to pass with the share, and style is the AddThis style. Take a look at the $addthis_new_styles array inside addthis_social_widget.php for a list of the styles. Another option is to pass an array for creating a custom toolbox. To do this, just create an array like the following and pass that as the $style.
$customAddThis = array( 'size' => '16', // size of the icons. Either 16 or 32 'services' => 'hyves,joliprint', // the services you want to always appear 'preferred' => '8', // the number of auto personalized services 'more' => true // if you want to have a more button at the end );
You can now select custom as the option for which AddThis widget you want to display. This will allow you to choose the size of your toolbox, the services that you want to always appear at the start of the toolbox, the number of auto personalized services, and if you want to include our iconic orange share button.
WordPress has a tradition of each release having a haiku, so I present to you:
AddThis for WordPress
Easier to make your own
Sharing made simpler
Now head on over to The WordPress plugin repository and grab this update.