3 Ways To Make a URL Added In a Custom Field a Clickable Link

If you add a URL to a custom field like you see in the following screenshot, it won’t automatically turn into a hyperlink and become clickable.

custom-fields

To make links added in custom fields hyperlink, choose from either of these 3 options:

  1. The 1st solution works in a custom function
  2. The 2nd solution works in a template file using opening and closing PHP tags
  3. The 3rd solution works in a custom function using any hook position and checks for valid URL’s

Was This Tutorial Helpful?

Free

$0

Access only to all free tutorials per month.



Monthly

$75

Access to 10 premium tutorials per month.


Tutorial Request


Includes code guarantee and coding support.

Yearly

$500

Access to 15 premium tutorials per month.


Monthly Tutorial Request


Includes code guarantee and priority coding support.