• Resolved fredroo

    (@fredroo)


    Hi, please add WhatsApp share button to your plugin
    I hope this code below can be helpful

        if ( wp_is_mobile() ) {
          $whatsapp_url = 'whatsapp://send?text=' . urlencode( get_the_title() . ' ' . get_permalink() );
        } else {
          $whatsapp_url = 'https://api.whatsapp.com/send?text=' . str_replace("+", "%20", urlencode( get_the_title() ) ) . '%20' . urlencode( get_permalink() );
        }
    • This topic was modified 5 years, 4 months ago by fredroo.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor iova.mihai

    (@iovamihai)

    Hey @fredroo,

    Thank you for reaching out with this and for providing the code. For the moment WhatsApp is not available in the free version of the plugin. This is currently a business decision, which I cannot guarantee will change in the foreseeable future.

    All the best,
    Mihai

    Thread Starter fredroo

    (@fredroo)

    Sorry, my mistake, after publish here I found your paid version

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add Whastapp Share Button’ is closed to new replies.