Support » Plugin: AddToAny Share Buttons » Can’t customize Whatsapp button

  • Resolved misstest

    (@misstest)


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

    https://imgur.com/a/eWasBfX

    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="http://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 3 months, 4 weeks 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)
  • You must be logged in to reply to this topic.