Support

Account

Home Forums Backend Issues (wp-admin) Using tel: and mailto: in links for use with elementor buttons

Helping

Using tel: and mailto: in links for use with elementor buttons

  • advanced custom fields > includes > fields > class-acf-field-url.php

    Line 152

    Change: if ( strpos( $value, ‘://’ ) !== false ) {
    to: if ( strpos( $value, ‘:’ ) !== false ) {

    Legit just take the two // out, and it works. It was like this for years, and then they updated it causing several of my themes to crash as they were built with ACF Pro + Elementor Pro + Dynamic.ooo

    If that could be reprogrammed into the base code for the plugin that would be greeeeeaaaat.

  • I just looked back in old versions of ACF, the URL field was introduced in version 5. The ACF validation code has always been ‘://’.

    At any rate, if you want to suggest this change to the developers then you need to contact them or open a ticket in your account.

    The developers do not monitor this forum.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.