AddToAny Share Buttons
[resolved] [Plugin: AddToAny: Share/Bookmark/Email Button] Standalone Services Only (2 posts)

  1. dreamfoundry
    Posted 6 years ago #

    Is there a way to show only the Standalone Services, and not the Share/Save button?

  2. micropat
    Plugin Author

    Posted 6 years ago #

    There sure is.

    First disable automatic placement in the plugin's settings panel. Then insert this code into your theme's file(s), probably somewhere in your theme's single.php at least:

    <?php echo '<ul class="addtoany_list">';
    if( function_exists('ADDTOANY_SHARE_SAVE_ICONS') )
        ADDTOANY_SHARE_SAVE_ICONS( array("html_wrap_open" => "<li>", "html_wrap_close" => "</li>") );
    echo '</ul>'; ?>

    From http://wordpress.org/extend/plugins/add-to-any/faq/

    Alternatively, it might be easier for you to just hide the button by adding this line of CSS to your theme's main stylesheet:
    .addtoany_share_save { display:none; }
    This isn't the most preferred method, but it gets the job done fastest.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • AddToAny Share Buttons
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic