WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddThis
[Plugin: AddThis] custom buttons not showing on excerpt (4 posts)

  1. websitedesignby
    Member
    Posted 1 year ago #

    I am trying to add the pinterest button.

    I have the custom code below the post.

    <div class="addthis_toolbox addthis_default_style ">
    <a class="addthis_button_facebook_like" fb:like:layout="button_count"></a>
    <a class="addthis_button_tweet"></a>
    <a class="addthis_button_google_plusone" g:plusone:size="medium"></a>
    <a class="addthis_button_pinterest_pinit" pi:pinit:layout="horizontal">        </a>
    <a class="addthis_counter addthis_pill_style"></a>
    </div>

    It does not display my share buttons on the blog when an excerpt is present, however it displays if there isn't an excerpt present.

    Share buttons are displayed on excerpts when I go back to default sharing buttons.

    tested in plugin versions 2.4.0 and 2.3.2

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

  2. Aaron Jorbin
    Member
    Posted 1 year ago #

    Hi websitedesignby,

    I'm having a hard time replicating this. What theme are you using and what other plugins do you have installed?

    Do you have the option to display on excerpts selected in the advanced tab?

    -Aaron

  3. formica
    Member
    Posted 1 year ago #

    For what it's worth I had a similar issue which was resolved by disabling plugins (maybe a javascript conflict). More specifically I had my blog in 'maintenance mode' - once disable it worked again.

  4. websitedesignby
    Member
    Posted 1 year ago #

    Hi,

    Some more details to recreate my issue.

    I am using a manual excerpt in the excerpt field for my posts.

    In my loop I am using the following code:

    if (function_exists('has_excerpt') && has_excerpt()) the_excerpt();
       					else the_content('Read on...');

    So the issue I am having is with the manual excerpts and this code used to display the excerpt when present.

    Thank you,
    Ross

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.