Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    it should be possible, can you let me know what code snippet are you using to show the WhatsApp button (as this is not a part of the WPAdverts core)?

    Most likely it will be best to format the phone number in the code snippet and display it as a number.

    Thread Starter estebanip

    (@estebanip)

    It’s actually much simpler than that, to display the ads I use a template created with Elementor Pro, and the link to Whatsapp is a simple button with a link to the adverts_phone dynamic tag.
    In the advanced settings I put the initial and final part of the link to whatsapp, so I create the link to the advertiser’s number.
    Thank you for answering so quickly.
    https://miramiweb.com/demolins/wp-content/uploads/2022/09/etiquetadinamica.jpg
    https://miramiweb.com/demolins/wp-content/uploads/2022/09/etiquetadinamica2.jpg

    Plugin Author Greg Winiarski

    (@gwin)

    Hi,
    i am not familiar with Elementor Pro but i am guessing it is simply pulling the adverts_phone meta from the database.

    In this case, it would be ideal if the data saved in the database was a number without any other characters. If you have the Custom Fields extension installed then you can go to the wp-admin / Classifieds / Options / Custom Fields panel edit the publish form scheme, click edit next to the Phone Number field and in the Validate As select number or integer.

    The other option would be to format the phone number before it is displayed on the site, but how to do that you would need to ask the Elementor support.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Phone number without blank spaces’ is closed to new replies.