WordPress.org

Ready to get started?Download WordPress

Forums

Share Buttons by AddToAny
[resolved] [Plugin: AddToAny: Share/Bookmark/Email Button] Help using standalone email menu button (5 posts)

  1. katemgilbert
    Member
    Posted 3 years ago #

    I have installed and activated AddToAny, but no matter what I set on the setting page, I see just the standard Share/Save menu box on my site.

    I used the standalone services menu to select only email on the settings page within my dashboard, but that didn't change anything. I also selected Text Only, but that also did nothing.

    I want to show the email tab as a standalone dropdown menu. I found the code here http://www.addtoany.com/buttons/customize/email_button. But where to do I put that code? In a template file? By itself or within <?php if( function_exists('ADDTOANY_SHARE_SAVE_KIT') ) { ADDTOANY_SHARE_SAVE_KIT(); } ?> ?

  2. micropat
    Member
    Plugin Author

    Posted 3 years ago #

    You can select Email in WP Settings > Share/Save Buttons > click Add/Remove Services > select Email > Save Changes

    Right now the email standalone button doesn't yet have the email-only drop-down menu, but this is planned for a later release. When selected in settings, it should appear alongside your regular Share/Save button.

    Are you ultimately looking to have only the email button (+ drop-down) by itself, or the email button (+ drop-down) alongside the AddToAny Share/Save button?

  3. katemgilbert
    Member
    Posted 3 years ago #

    @micropat - thanks for your response. I am using a multisite install, so I see now that the settings need to be configured site-by-site, even when the plugin is network activated.

    Still have the problem that ALL I want is the email button. I don't want any of the other buttons, but can't save the form with no radio button selected. Any way around that?

  4. micropat
    Member
    Plugin Author

    Posted 3 years ago #

    Sure, the best workaround for you would be to insert the following line of code into the Additional Options box:
    a2a_config.menu_type = "mail";
    (via the Standalone Email Button doc)

    You can then go with a custom or text-only button that says "Email", then you'll have your standalone email button with a drop-down menu.

    FYI this will only fully work if you enable the button on single posts & pages only. It won't work on index pages, i.e. with multiple AddToAny buttons on the same page.

    This is not the most elegant solution as it doesn't allow you to have the regular AddToAny button/menu, but it'll work for your needs right now. Note that in the future accomplishing this will be much more intuitive in new plugin versions, which will also render this inelegant workaround obsolete (though it'll likely still get the job done). :)

  5. weballergy
    Member
    Posted 3 years ago #

    hi !
    I have try this code (a2a_config.menu_type = "mail";), but don't work in wordpress 3.02 with plugin version 0.9.9.7.5. I don't understand ...
    If somebody has a solution....

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags