Français A propos Contact rss
WordPress from the beginning
Sharing some discoveries about WordPress
 

addthis button to share your articles

This type of button makes bookmarking, or sharing, your articles easier (not to be confused with RSS feed inscription!) on the web's main networking platforms (facebook, delicious…), therefore increasing your influence.

Installation

I had already used addthis on one of my sites, and I was pleasantly surprised, when I paid their site a visit, to see that they had developed a plugin specifically for wordpress. In addition, their doc is well done.

Automatic integration

When checking the plugin’s base options, the addthis button will automatically display inside articles and archives.

Manual integration

If, like me, you don’t like to overload the article’s text zone, you may display the addthis button in the sidebar using this code:

if ( function_exists(‘addthis_social_widget’) ) {
echo addthis_social_widget(”);
}

Statistics

The icing on the cake: when you have an account with addthis, it will memorize all your articles’ sharings and provide you with statistics by date, continent, service:

Statistiques dans votre compte addthis

Statistics in your addthis account

Options page

addthis

More ?

Check out the plugins on sharing on the Wordpress site.

Finally, a little home-made modification

I just changed a little the addthis_social_widget.php code on line 124 so the button doesn’t display on the homepage:

publicfunction social_widget($content){// add nothing to RSS feeds; control adding to static/archive/category pagesif(is_feed())return$content;elseif(is_home())return$content;elseif(is_page()&&!$this->addthis_showonpages)return$content;...

Suggestions de lecture

Spread this post over the world!

Share/Bookmark

How did you like this post?

Please don't go without leaving a mark!
7 vote(s) 1 Etoile2 Etoiles3 Etoiles4 Etoiles5 Etoiles Loading ... Loading ...

Reactions

comments Be the first!
Top
Add/Remove Widgets

Plugin

How to add a plugin??

About this post

  • About this weblog

    "WordPress From the beginning" is written by a French web developer and teacher currently based in Switzerland.

    Originally planned in french, both blog and its functions were developped in this language. This explains why not all functions are available in the English version.

    However, new translated articles are regularly posted for use by the wordpress' web community.

Wordpress from the beginning is a production of Woodymood