• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

WP SITES

2784

Original Genesis Tutorials & 6000+ Guaranteed Code

Snippets

  • Consultation
  • Full Access
  • Log in

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

Register for full access

Custom Fields

Reader Interactions

Leave a Reply Cancel reply

You must be logged in to post a comment.

Primary Sidebar

Code written by Brad Dalton specialist for Genesis, WooCommerce & WordPress theme customization. Read More…

Advertise · WPEngine · Genesis · Log in

  • Access Problems
  • Account Details
  • Consulting
  • Tags
 

Loading Comments...
 

You must be logged in to post a comment.