Support » Fixing WordPress » can't parse link in a custom field

  • Resolved rebekahford

    (@rebekahford)


    Hi

    I’m using custom fields extensively in a website that I’m building and I can’t seem to get the following code to parse to the html
    <a href="<?php $key="uni_weblink"; echo get_post_meta($post->ID, $key, true); ?>"

    all my other keys are working fine except this one but they’re not within tags. is there something I’m doing wrong?

    kind regards

    Rebekah

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘can't parse link in a custom field’ is closed to new replies.