• snaushads

    (@snaushads)


    I have, added the buttons on a custom page template.

      Buttons are being displayed ONLY on custom template pages
      The buttons displayed are in default format
      AddThis Share widget appears to work fine

    the codes that i have tried in custom template to get small share icons is:

    <?php do_action( 'addthis_widget' ); ?>

    <?php echo addthis_custom_toolbox($options, $url, $title); ?>

    and

    <?php do_action('addthis_widget', get_permalink(), the_title('', '', true), 'addthis_button_compact' ); ?>

    All of above provide default styling.

    What i wish to achieve:
    Share buttons should be displayed in small compact form on Pages As well as Custom templates

    Also, there is no direct documentation for adding AddThis in WordPress Templates. A simple 1 page documentation explaining various cutom use cases with examples will be great for non-programmers.

    Kindly assist.

    https://www.ads-software.com/extend/plugins/addthis/

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Buttons being displayed in default style only’ is closed to new replies.