• Resolved misstest

    (@misstest)


    I can’t customize icons on Addtoany. I don’t know what I’m doing wrong

    View post on imgur.com

    I tried using this code, but how can i change the content of the mensage?

    <div class="a2a_kit a2a_default_style">
        <a class="a2a_button_whatsapp">
            <img src="https://www.mysite.com.ar/wp-content/uploads/2020/07/WhatsApp.png" border="0" alt="WhatsApp" width="100" height="50">
        </a>
         
    </div>
    
    <script async src="https://static.addtoany.com/menu/page.js"></script>
    • This topic was modified 4 years, 9 months ago by misstest.
Viewing 1 replies (of 1 total)
  • Plugin Author micropat

    (@micropat)

    For the custom icons setting, the “URL” is to the directory containing all of your customs icons, so you’d remove whatsapp.png/ from your URL and have something like:

    https://example.com/wp-content/uploads/2020/07/

    Use AddToAny Templates to change the WhatsApp message. For example, add the following code to your “Additional JavaScript” box in AddToAny settings:

    a2a_config.templates.whatsapp = {
        text: "I'm interested in ${title} posted here: ${link}"
    };
Viewing 1 replies (of 1 total)
  • The topic ‘Can’t customize Whatsapp button’ is closed to new replies.