WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] Social Icons Suddenly Appear in Unwanted Places (5 posts)

  1. gwstanto
    Member
    Posted 9 months ago #

    Hi,

    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!

    https://wordpress.org/plugins/add-to-any/

  2. micropat
    Member
    Plugin Author

    Posted 9 months ago #

    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 -->

  3. gwstanto
    Member
    Posted 8 months ago #

    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!

  4. micropat
    Member
    Plugin Author

    Posted 8 months ago #

    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.

  5. gwstanto
    Member
    Posted 8 months ago #

    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!

Reply

You must log in to post.

About this Plugin

About this Topic