• Hi

    I’ve add a custom field in my post, “URL”. url = External link

    Currently “URL” is being used on the front page: when someone click on “Read More”, it takes them to the external link. http://makecreatedo.com/

    But I want to use the same URL in the individual post. Just below the description, I want a “Visit the Source” and when someone click on it, it will also takes them to that specific external link.
    http://makecreatedo.com/2012/09/30/burlap-christmas-stockings/
    (the link is currently on the post, but it’s not clickable)

    Is that possible (I’m still a newbie) and how do I do that?
    Thanks

Viewing 1 replies (of 1 total)
  • Thread Starter makecreatedo

    (@makecreatedo)

    Okey, I figure it out myself.
    for other users, the code (on Single.php)

    <a href="<?php echo get_post_meta($post->ID, "URL", true); ?>"target="_blank">Visit the Source</a>

Viewing 1 replies (of 1 total)

The topic ‘Custom Field – External Link – Please help’ is closed to new replies.