Title: Make links from Custom Fields
Last modified: August 19, 2016

---

# Make links from Custom Fields

 *  [dzoe](https://wordpress.org/support/users/dzoe/)
 * (@dzoe)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/make-links-from-custom-fields/)
 * Hi there,
 * Im trying to generate links using custom fields, using the value of the field…
   it would be something like this:
 * Form in the admin area:
 * Name: Jhon Smith
    Web: [http://www.johnsmith.com](http://www.johnsmith.com) e-
   mail: [john@jhonsmith.com](https://wordpress.org/support/topic/make-links-from-custom-fields/john@jhonsmith.com?output_format=md)
 * The code you get would be:
 *     ```
       <ul class='post-meta'>
       <li><span class='post-meta-key'>Name:</span> John Smith</li>
       <li><span class='post-meta-key'>Web</span>www.johnsmith.com></li>
       <li><span class='post-meta-key'>e-mail/span>john@johnsmith.com</li>
       ```
   
 * This is what I want:
 *     ```
       <ul class='post-meta'>
       <li><span class='post-meta-key'>Name:</span> John Smith</li>
       <li><span class='post-meta-key'>Web</span> <a href="http://www.jhonsmith.com">www.johnsmith.com></a></li>
       <li><span class='post-meta-key'>e-mail/span> <a href="mailto:john@johnsmith.com">john@johnsmith.com</a></li>
       ```
   
 * Thanks a lot for your help, maybe it’s explained in some other topic, in this
   case, please let me know…
 * Dzoe

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

 *  [Doodlebee](https://wordpress.org/support/users/doodlebee/)
 * (@doodlebee)
 * [16 years, 9 months ago](https://wordpress.org/support/topic/make-links-from-custom-fields/#post-1173394)
 * Where are you getting the information from? Is this user data (like subscribers
   or authors)? or are you using custom fields for each post (and if so, why)?
 *  [darthmortar](https://wordpress.org/support/users/darthmortar/)
 * (@darthmortar)
 * [16 years, 8 months ago](https://wordpress.org/support/topic/make-links-from-custom-fields/#post-1173643)
 * This could be nice, say you have a movie blog, and you want to post IMDB or Wikipedia
   link…

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

The topic ‘Make links from Custom Fields’ is closed to new replies.

## Tags

 * [custom field](https://wordpress.org/support/topic-tag/custom-field/)
 * [links](https://wordpress.org/support/topic-tag/links/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 3 participants
 * Last reply from: [darthmortar](https://wordpress.org/support/users/darthmortar/)
 * Last activity: [16 years, 8 months ago](https://wordpress.org/support/topic/make-links-from-custom-fields/#post-1173643)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
