WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: AddToAny: Share/Bookmark/Email Button] Customize codes won't work (13 posts)

  1. rmprado
    Member
    Posted 4 years ago #

    I have AddtoAny on my website, but I'm trying to customize the Twitter message. Here (http://www.addtoany.com/buttons/customize/twitter_message), the AddtoAny site even teaches how to do it, but it won't work.

    I tried putting that code within the Additional Options field at the Configurations page. Isn't it supposed to work this way?

    Thanks in advance

  2. micropat
    Member
    Posted 4 years ago #

    That is exactly how it should work. Can you paste here the exact code you have in the Additional Options box?

  3. jrosas84
    Member
    Posted 3 years ago #

    @micropat,

    I am having the same issues. Here's the exact code I put in the Additional Options box:

    'var a2a_config = a2a_config || {};
    a2a_config.templates = {
    twitter: "Check out: ${title} ${link} via @joelrosas"
    };'

  4. micropat
    Member
    Posted 3 years ago #

    That code should work perfectly as well (without the surrounding single-quotes, of course). What version of AddToAny and WordPress are you using? If you can provide a link to your blog, please do.

  5. rushel
    Member
    Posted 3 years ago #

    I've been having the same problem as well, here's my blog URL: http://rushmiller.com

  6. cozbaldwin
    Member
    Posted 3 years ago #

    I find that the customized twitter message works when you click the Share/Save button and choose Twitter from the menu. But if you choose the Twitter singular icon displayed prior to the Share/Save button, then the custom Twitter message does not display. This is currently the way it's working on my site: http://www.hiddeninthesand.com/blogs/

  7. micropat
    Member
    Posted 3 years ago #

    @rushel the Twitter customization appears to be working correctly in your drop-down menu.

    @cozbaldwin that's a really great point. The customized Twitter message does not work for the standalone service link yet. This is planned for an upcoming release that should land very soon.

  8. totbargains
    Member
    Posted 3 years ago #

    Glad to see this post, I had the same question. I was hoping the code would apply to the standalone service by now, any update on when that will occur?

    Blog: http://totbargains.com

  9. micropat
    Member
    Posted 3 years ago #

    @totbargains it actually does apply to the standalone service now, and it seems to be functioning perfectly on your blog. :)

  10. totbargains
    Member
    Posted 3 years ago #

    Hmm, my custom message ("I found a great deal...") seems to be working when I choose Twitter from the share/save popup menu, but not the Tweet button on the posts. I've tried in IE8, Chrome and Firefox and see the same results. @micropat you're saying it works when you try it? Maybe it's just buggy for me... Thanks for the help!!

  11. micropat
    Member
    Posted 3 years ago #

    Ack, sorry! My mistake. So, yes, it does work for the Twitter standalone service, but not yet for the "advanced" Tweet button. You might consider switching out your Tweet button for the regular Twitter standalone icon for now.

  12. totbargains
    Member
    Posted 3 years ago #

    Ok, made the switch and it is working now, thanks! Will look for the advanced tweet button to be customizable in future updates. The reason I didn't like the standard twitter button is the black border that Firefox and IE8 put around it, as well as the background color issues I am getting around all my addtoany buttons. I'll keep playing around with the settings and hopefully can get it to look right. Love the plugin though, thanks!

  13. Wroth
    Member
    Posted 3 years ago #

    I am having a similar problem with the custom twitter message not showing. I am using a custom img for the button, is there a way to get it to work by defining it clearly as a 'simple' twitter button? Since that sounds like that button works while the complex one does not. I'm using neither but perhaps my custom img is being treated like the complex twitter button?

    Atm I am placing it with .a2a_button_twitter , pretty much like,

    <div class="a2a_kit">
        <a class="a2a_button_twitter">
            <img src="someimg.png" />
        </a>
    </div>

    Does it take a different class to define it as simple perhaps...?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags