Support » Plugin: AddToAny Share Buttons » Social Icons Suddenly Appear in Unwanted Places

  • Resolved gwstanto



    I have the right-docked floating social icons, and I had it working. Today, however, when I added a couple of new pages to my site and updated another page, those pages began showing the social icons at the bottom of the page in addition to the floating icons.

    I did not change the AddToAny settings, and I configured the pages the same way as before. I’ve tried deactivating all the plugins that were recently changed, but that didn’t help.

    I like this plugin a lot, but I’d like to solve this problem so that my website will have a consistent look. Please help.

    Below are links to pages that demonstrate the behavior I’ve described.

    My homepage has the social icons only on the right, as I want.

    My blog page is one of the pages that have the social icons on the right AND on the bottom. I want the ones on the bottom removed.

    Thanks for your time!

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


    Excellent job on the custom icons and CSS! That fits your site so perfectly.

    As for the issue, it’s evident that someone manually placed an AddToAny template tag in at least one of your theme’s files, but they were kind enough to leave a clue:

    <!-- I Added this for AddToAny Share plugin, since I unchecked the placement buttons in the settings -->

    Thread Starter gwstanto


    Thanks for getting back to me, and I’m glad you like the custom icons!

    As for the mystery of who added the template tag, that was me. I did this because of the instruction (copied below) on the AddToAny settings page that appears at the bottom of the Placement section.

    * If unchecked, be sure to place the following code in your template pages (within index.php, single.php, and/or page.php):
    <?php if ( function_exists( ‘ADDTOANY_SHARE_SAVE_KIT’ ) ) { ADDTOANY_SHARE_SAVE_KIT(); } ?>

    I did leave the boxes to display the social icons on pages and posts blank, so I tried to follow the instructions.

    I did this when I initially set up the plugin, and the buttons were working as I wanted. The unwanted behavior I described in my first post did not begin until later.

    Any suggestions? I really appreciate your help!

    Plugin Author micropat


    You can safely remove that line of code to remove the extraneous set of buttons.

    Sorry for the confusion. Those instructions need clarifying as they date back to before there were alternative placements methods such as the floating share bars, widgets, etc. The spirit is to offer an alternative method if the default placement options are disabled. Thanks for bringing this up.

    Thread Starter gwstanto


    Hi micropat!

    That did the trick. Thanks!

    By the way, there is one last tweak I’d like to make. I made a post about it two weeks ago but haven’t received a reply. Would you mind taking a look at it?

    Thanks again!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Social Icons Suddenly Appear in Unwanted Places’ is closed to new replies.