WordPress.org

Forums

Smart Website Tools by AddThis
Addthis wrong buttons on archive pages (4 posts)

  1. elhashbrown
    Member
    Posted 1 year 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 1 year ago #

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

  3. elhashbrown
    Member
    Posted 1 year ago #

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

  4. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 1 year 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

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags