Viewing 10 replies - 1 through 10 (of 10 total)
  • Thread Starter acidaniel

    (@acidaniel)

    Just an update, The data-link and the data-title attributes are wrong in frontpage share buttons

    Hi @acidaniel – It looks like you’re using another plugin that’s also specifying open graph information. To isolate, you can try disabling that plugin and see if that fixes it.

    Thread Starter acidaniel

    (@acidaniel)

    Hi, I’ve just deactivate all plugins but shareaholic and the problem still happen, Also I made a debug with facebook open graph tool https://developers.facebook.com/tools/debug/ and I got the right data.

    All posts in home page are marked as stycky posts. But I have custom meta tags and custom open graph for my front page.

    Please I need a quick solution since my counters are not visible for the frontpage.

    Plugin Author Shareaholic

    (@shareaholic)

    @acidaniel your customization looks great! btw, have you checked out our Floated Share Buttons? More info here – https://blog.shareaholic.com/floating-share-buttons-and-social-share-counts/

    To fix the current buttons, can you try the following?

    Wherever you manually included the share buttons code in your template, replace:

    <div id="floating-uplifting" class="floating-sb">
    <div class='shareaholic-canvas' data-app-id='5628679' data-app='share_buttons' data-title='Inspirational Images: Feed Your Faith' data-link='http://www.uplifting.com/inspirational-images-feed-your-faith/' data-summary=''></div>
    </div>

    With:

    <div id="floating-uplifting" class="floating-sb">
    <div class='shareaholic-canvas' data-app-id='5628679' data-app='share_buttons'></div>
    </div>

    If you’re using the Shareaholic shortcode, you would use the following:

    <div id="floating-uplifting" class="floating-sb">
    <?php echo do_shortcode ('[shareaholic app="share_buttons" id="5628679"]'); ?>
    </div>

    Note that the change we’re making is to not specify data-title, data-link and data-summary and letting Shareaholic determine the best match instead.

    More here: http://wordpress.org/plugins/shareaholic/installation/

    Plugin Author Shareaholic

    (@shareaholic)

    @acidaniel do let us know if the above fixes it for you! 🙂

    Thread Starter acidaniel

    (@acidaniel)

    Actually I’m using the shortcode method without data-title, data-summary and without data-link attribute.

    See my header.php

    http://www.fast-files.com/getfile.aspx?file=74515

    The problem still happen!

    Plugin Author Shareaholic

    (@shareaholic)

    @acidaniel do you have any caching plugins installed? If so, can you clear the cache?

    Thread Starter acidaniel

    (@acidaniel)

    Yes I have W3-total cache installed, I’ve just cleared the cache both( Disk and module cache) and nothing change!.

    Also I’ve tried disabling the cache plugin and the problem persist

    Plugin Author Shareaholic

    (@shareaholic)

    I see what’s going on with the shortcode. We’ll fix it in the next release!

    In the meantime, can you try the html version? This should fix it:

    <div class='shareaholic-canvas' data-app-id='5628679' data-app='share_buttons'></div>

    Thread Starter acidaniel

    (@acidaniel)

    The html version works!.

    However please make sure in the next release you guys fixed the short code method.

    Thanks for your help, marking as resolved!!!!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Share buttons in frontpage’ is closed to new replies.