WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
Buttons being displayed in default style only (8 posts)

  1. snaushads
    Member
    Posted 1 year ago #

    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.

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

  2. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 1 year ago #

    @ snaushads: I will check it! Can you share the url please? You can mail it srijith[AT]addthis.com if you prefer.

  3. snaushads
    Member
    Posted 1 year ago #

    Srijith, please visit http://dev.gloriouspercept.com/blog and homepage.

    Please ignore the Jetpack sharing stuff, i had shifted to jetpack sharing as the solution was not there.

  4. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 1 year ago #

    Can you enable addthis as well? Or is it already there and failed to load

  5. snaushads
    Member
    Posted 1 year ago #

    Srijith, i had already enabled AddThis so that you can have a check.

    Please have a look, it works,
    screen-shot

  6. snaushads
    Member
    Posted 1 year ago #

    It works only with default styling Only and does not display on Pages.

    I want it to be displayed on
    : Pages
    Posts
    Cutom Template (With other styling, of small icons)

    The screen-shot provided is for link: http://dev.gloriouspercept.com/blog/

  7. Srijith V
    AddThis Samurai
    Plugin Author

    Posted 1 year ago #

    Got it!
    I understand your issue. I will try to provide a documentation as soon as possible on how to customise AddThis plugin.

  8. snaushads
    Member
    Posted 1 year ago #

    thanks, will wait. Till then ill use other plugin.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic