• Resolved epa233

    (@epa233)


    Hi there,

    Is there a way to swap or replace or change the Url format of the Whatsapp social share button?
    Right now the behaviour of the url works with: https://web.whatsapp.com/
    The usual behaviour in other addons or plugins (like the
    “Event Single Page Templates Addon” from coolplugins itself for example) is using the option to share or open the app like https://wa.me/?text=XXXXXX

    This is causing different behaviours between pages on the same icon, all the others social media icons has the same url in both plugins, only this is different.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Jyoti Bhandari

    (@jyoti197)

    Hi @epa233,

    You can achieve that by changing a single line of code in our plugin.
    Go to main folder of plugin template-events-calendar/includes/ect-share-functions.php
    Replace line no. 15 with the given code:-

    $ect_whatsappURL = esc_url('https://wa.me/?text='.$ect_gettitle . ' ' . $ect_geturl);

    Hope this helps.

    Thanks & Regards

    Thread Starter epa233

    (@epa233)

    It works like a charm! Thanks a lot

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Social Share Whatsapp URL’ is closed to new replies.