Results 1 to 4 of 4

Thread: Insert Whatsapp number in widget AD

  1. #1
    Thread Starter
    Expired Customer vendarapidao's Avatar
    Join Date
    Aug 2020
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Insert Whatsapp number in widget AD

    We have a customized whatsapp field. When the user enters a new ad he fills in that number. If I write the code

    HTML Code:
    <a href="<?php echo "https://api.whatsapp.com/send?phone=55".get_post_meta( $post-> ID, 'cp_whatsapp', true). "& Text = I am interested in the product ".get_permalink ($ post-> ID)." Can we talk? ";?>" Target = "_ blank"> <img src = "..."> </a>
    right in the code, it brings the number, but if I put it in a widget it doesn't work. What can it be? Look at the whatsapp button on the sidebar working with direct code, but not working on the widget.

    Look: https://brunoriggs.com.br/vendarapid.../civic-ex-001/

  2. #2
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  3. #3
    Thread Starter
    Expired Customer vendarapidao's Avatar
    Join Date
    Aug 2020
    Posts
    26
    Thanks
    1
    Thanked 0 Times in 0 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

  4. #4
    Moderator ovidiubica's Avatar
    Join Date
    Mar 2011
    Posts
    5,749
    Thanks
    240
    Thanked 1,062 Times in 1,000 Posts
    You must be an AppThemes customer and logged in to view this response. Join today!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. whatsapp and facebook
    By octavio704 in forum ClassiPress General Discussion
    Replies: 1
    Last Post: June 16th, 2019, 07:46 AM
  2. [SOLVED] Faster way to contact ads owners like facebook messenger, whatsapp, etc
    By andreuerj in forum Help Using ClassiPress
    Replies: 10
    Last Post: February 20th, 2018, 01:38 AM
  3. How can I insert php code inside a text widget?
    By studentcentrum in forum ClassiPress General Discussion
    Replies: 2
    Last Post: December 8th, 2012, 09:13 PM
  4. How can I insert php code inside a text widget?
    By studentcentrum in forum Report ClassiPress Bugs
    Replies: 1
    Last Post: December 8th, 2012, 02:27 PM
  5. [SOLVED] Insert comma into Number (price)
    By toms in forum Report ClassiPress Bugs
    Replies: 3
    Last Post: October 15th, 2011, 09:29 AM