Auto adding paragraphs to custom fields, only showing first letter
-
So I’m trying to auto add paragraphs to my custom field using wpautop but the filter I am using only shows the first letter of the first paragraph (Twice for some reason).
If anyone could help it would be a huge relief, it’s been driving me crazy
$my_meta = get_post_meta($post->ID,'welcome_message',TRUE); echo $my_meta['name']; echo wpautop( $my_meta['description'], 1 );
I’ve been adding it into the page I want the custom field to appear on, am I doing that wrong perhaps?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Auto adding paragraphs to custom fields, only showing first letter’ is closed to new replies.