Home Forums Plugin Support WP User Frontend (Free Version) Textarea HTML Problems

This topic is: resolved

Tagged: ,

This topic contains 2 replies, has 2 voices, and was last updated by  Biffynator 5 years, 7 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #12629

    Post count: 1


    I have a problem with the frontend output of textareas (meta_keys). I`ve already tried to change the field type to rich and teeny, but it makes no difference.

    I used:

    < ?php echo get_post_meta( $post->ID, ‘eventinfo', true ); ?>

    for displaying the contents of the field in the template, but no matter what I put in the field while creating the post, in the frontend, all breaks and tags are removed.

    Do you have any Idea?


    Tareq Hasan
    Post count: 2831

    May be the user is posting, has no permission for inserting unrestricted html. Either you can give that permission or use like this <?php echo nl2br( get_post_meta( $post->ID, ‘eventinfo’, true ) ); ?>


    Post count: 1

    Thank You, Tareq. Seems to work fine!

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Textarea HTML Problems’ is closed to new replies.