Custom Fields
-
I’m using some custom fields for a site, and can’t figure out how to include links in them. If I add
<a href="example.com">link</a>
, it saves as<a href=\"example.com\">
The relevant code for how I’m outputting the custom fields is similar to this:
<p><?php echo wpautop( get_post_meta($post->ID, "Bio", true) ); ?></p>
Any suggestions? I’d like this to be as painless as possible, as the person using this barely knows basic HTML.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom Fields’ is closed to new replies.