• if ( $touchpoint_data['website'] ) {
    				echo '<div class="touchpoint">' . esc_url( $touchpoint_data['website'] ) . '</div>';
    			}

    How can I turn that into a hyperlink? It’s echoing a custom text field [website] where they are instructed to enter the full address with http://www.

    I’d like to then take that url and turn it into a link “Visit Our Website”.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Turn echoed custom text field into hyperlink’ is closed to new replies.