• Our Pro share buttons are no longer displaying using the custom code we have implemented in our theme. I have emailed the AddThis support team twice for assistance around this but have not had any response – this leads me to believe that there is likely no fix when using the latest version, if someone could clarify it would save us a lot of time.

    Basically because there is no longer a ‘widget’ included in the plugin the following code no longer works:

    <?php do_action( ‘addthis_widget’, get_permalink(), get_the_title(), array(
    ‘size’ => ’32’,
    ‘services’ => ‘twitter,facebook,pinterest_share,whatsapp,email’,
    ‘preferred’ => ‘0’,
    ‘more’ => false,
    ‘counter’ => false,
    ‘type’ => ‘custom’
    ));
    ?>

    Obviously we need a replacement for this ASAP or at least confirmation that this code is no longer supported.

    https://ww.wp.xz.cn/plugins/addthis/

Viewing 1 replies (of 1 total)
  • Plugin Author addthis_matt

    (@addthis_matt)

    Hi Kimb,

    Your assumption is correct. This is no longer supported as of our 4.x version. If you need to use the do_action() format for your site, you would need to use one of our older versions of the plugin.

    Thanks,
    Matt
    AddThis Support

Viewing 1 replies (of 1 total)

The topic ‘Latest version breaking custom share’ is closed to new replies.