Support » Plugin: AddToAny Share Buttons » Share Buttons on Front Page share post not Homepage?

  • I just installed your plugin and I love it. I was able to edit the buttons – fabulous.

    The ONLY thing that might stop me from using the plugin is that the share buttons on the front page link to the homepage. Is there any way that the share buttons can link to their associated post excerpt?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author micropat


    Hmm… That’s how AddToAny works by default: sharing buttons on the homepage share the respective post. Something’s amiss.

    Can you first troubleshoot by temporarily switching to the default theme and disabling other plugins? If you’re still stuck with the issue, point us to your site or let us know what you have installed.

    Hello, I have the same issue.

    The only active plugin on my site is Jetpack for infinite scroll functionality.

    I’ve even to add the following IF:

    if (is_home()) {
    $args['linkurl'] = get_home_url();

    before $kit_html .= ADDTOANY_SHARE_SAVE_BUTTON( $args ); which originally is on line 149.

    Additionally to that I tried to change the way which ADDTOANY_SHARE_SAVE_BUTTON function generate the links and the last approach was with involving setTimeout for delayed execution and changing the link.

    Of course none of the above ways did not work.

    Ivelin “h4cky” Georgiev

    Plugin Author micropat


    @h4cky it looks like you’re *trying* to share the homepage, which is different than Melanie’s issue. Can you point to the site and explain what you would like to achieve exactly? It’s probably a good idea to start your own new topic. 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Share Buttons on Front Page share post not Homepage?’ is closed to new replies.