Title: add a Hyperlink
Last modified: August 21, 2016

---

# add a Hyperlink

 *  Resolved [Mark Shirley](https://wordpress.org/support/users/ravalde/)
 * (@ravalde)
 * [12 years ago](https://wordpress.org/support/topic/add-a-hyperlink/)
 * Does anyone have a any code for: displaying type that says eg “go to” or something
   similar on the post and the user can add a URL into a custom field.
 * [https://wordpress.org/plugins/advanced-custom-fields/](https://wordpress.org/plugins/advanced-custom-fields/)

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

 *  [ahmadjan](https://wordpress.org/support/users/ahmadjan/)
 * (@ahmadjan)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/add-a-hyperlink/#post-4862631)
 * How do you resolve this ? Can you please explain ? Thanks.
 *  Thread Starter [Mark Shirley](https://wordpress.org/support/users/ravalde/)
 * (@ravalde)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/add-a-hyperlink/#post-4862633)
 * Hi here are some screenshots of AFC in wordpress and the code for the page template
 * [https://lh5.googleusercontent.com/-VbTMlZcgQB8/U3yQIG1fo6I/AAAAAAAAFbw/AOWRAwTYX6c/w693-h651-no/Screen+Shot+2014-05-21+at+12.15.59.png](https://lh5.googleusercontent.com/-VbTMlZcgQB8/U3yQIG1fo6I/AAAAAAAAFbw/AOWRAwTYX6c/w693-h651-no/Screen+Shot+2014-05-21+at+12.15.59.png)
 * [https://lh3.googleusercontent.com/-WGe209KIzwM/U3yQPxoKGkI/AAAAAAAAFcY/TgBPLWPwVN0/w1356-h740-no/Screen+Shot+2014-05-21+at+12.30.46.png](https://lh3.googleusercontent.com/-WGe209KIzwM/U3yQPxoKGkI/AAAAAAAAFcY/TgBPLWPwVN0/w1356-h740-no/Screen+Shot+2014-05-21+at+12.30.46.png)
 * [https://lh4.googleusercontent.com/-wSFp_YexZJA/U3yQW1w-3zI/AAAAAAAAFdA/RMJ1Tl43tRo/w1160-h838-no/Screen+Shot+2014-05-21+at+12.31.22.png](https://lh4.googleusercontent.com/-wSFp_YexZJA/U3yQW1w-3zI/AAAAAAAAFdA/RMJ1Tl43tRo/w1160-h838-no/Screen+Shot+2014-05-21+at+12.31.22.png)
 *     ```
       <li> <?php $my_meta = get_post_meta( $post->ID, 'link', true );  ?><?php if( $my_meta && '' != $my_meta ) : ?><a href="<?php echo $my_meta ?>">More Information</a><?php endif; ?></li>
       ```
   
 *  [Captain Theme](https://wordpress.org/support/users/captaintheme/)
 * (@captaintheme)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/add-a-hyperlink/#post-4862649)
 * You could just use:
    `$my_meta = get_field( 'link' );` fyi

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

The topic ‘add a Hyperlink’ is closed to new replies.

 * ![](https://ps.w.org/advanced-custom-fields/assets/icon.svg?rev=3207824)
 * [Advanced Custom Fields (ACF®)](https://wordpress.org/plugins/advanced-custom-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-custom-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-custom-fields/reviews/)

## Tags

 * [ACF](https://wordpress.org/support/topic-tag/acf/)
 * [hyperlink](https://wordpress.org/support/topic-tag/hyperlink/)

 * 3 replies
 * 3 participants
 * Last reply from: [Captain Theme](https://wordpress.org/support/users/captaintheme/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/add-a-hyperlink/#post-4862649)
 * Status: resolved