Support » Plugin: AddToAny Share Buttons » Email not included in mini-menu

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

    (@micropat)

    That should do it, and it should certainly be included somewhere in the full menu unless it’s hidden using CSS (older method) or removed using JavaScript (newer method).

    Can you point to the site? Otherwise, what JavaScript code do you have in your Additional Options box?

    Thread Starter zactoff

    (@zactoff)

    Hi,

    Pretty sure it’s not being hidden by either method, and the site is in development at the moment so not publicaly available, but this is what’s in the Additional options:

    a2a_config.exclude_services = [“facebook”, “google_plus”, “linkedin”, “twitter”, “pinterest”, “email”];
    a2a_config.num_services = 18;
    a2a_config.prioritize = [“email”, “printfriendly”, “flipboard”, “digg”, “delicious”, “reddit”, “slashdot”, “blogger_post”, “tumblr”, “typepad_post”, “wordpress”, “livejournal”, “instapaper”, “evernote”, “xing”, “whatsapp”, “stumbleupon”, “buffer”];

    I might be doing this the wrong way, but basically I wanted to control what was displayed, specifically that I didn’t want facebook, twitter, g+, pinterest and linkedin displayed in the pop-up as they are already displayed as standalone buttons and I didn’t want them duplicated.

    Perhaps there is a better way of doing this, but I couldn’t see a specific ‘include services’ setting

    Plugin Author micropat

    (@micropat)

    num_services with prioritize is the best way currently.

    exclude_services completely nixes services from the menus — “email” is specified at the end of your exclusions, so that’s why email is not included. You probably want:

    a2a_config.exclude_services = ["facebook", "google_plus", "linkedin", "twitter", "pinterest"];

    Thread Starter zactoff

    (@zactoff)

    Ahh, I am an idiot. Thank you.

    Now I have:

    a2a_config.num_services = 18;
    a2a_config.prioritize = [“printfriendly”, “email”, “flipboard”, “digg”, “delicious”, “reddit”, “slashdot”, “blogger_post”, “tumblr”, “typepad_post”, “wordpress”, “livejournal”, “instapaper”, “evernote”, “xing”, “whatsapp”, “stumbleupon”, “buffer”];

    Which is great, and mostly works, only odd thing is that Twitter is the first item on the mini-menu. Can live with this, but is odd…

    Plugin Author micropat

    (@micropat)

    It happens!

    Twitter may be appearing first because AddToAny recalls your sharing preferences:
    https://www.addtoany.com/share_save/preferences

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Email not included in mini-menu’ is closed to new replies.