• Hi,

    I’m displaying a custom field like this in single-mycustomtype.php

    $key_name = get_post_custom_values($key = ‘my-field’);
    echo $key_name[0];

    and there are those brackets displaying on the post page :
    [“My Field”]

    Any idea how make them disappear ?

  • The topic ‘display custom field without brackets’ is closed to new replies.