WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
Addthis wrong buttons on archive pages (4 posts)

  1. elhashbrown
    Member
    Posted 9 months ago #

    I have been using the Addthis plugin for about 18 months now and found that at least in this country Pintrest was always on the page but never used. Google+ was used regularly but never shown. I worked out how to show a custom button display by dragging them across in the admin area, swapping the two buttons. This worked fine for posts and pages however on archive pages the default buttons are back. Is this a bug or am I doing something wrong?

    http://wordpress.org/plugins/addthis/

  2. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 9 months ago #

    @elhashbrown: Are you using our template tag to display buttons in Archive pages?

  3. elhashbrown
    Member
    Posted 9 months ago #

    Yes, I'd forgotten about that. Do I need to change this code?

  4. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 9 months ago #

    You can try changing the code in template tag to following:

    <?php do_action('addthis_widget',get_permalink($post->ID), get_the_title($post->ID), 'below'); ?>

    or 'above' depending upon the style you need

Reply

You must log in to post.

About this Plugin

About this Topic

Tags