WordPress.org

Forums

Not able to pass HTML entities in post meta (1 post)

  1. vinoth06
    Member
    Posted 1 year ago #

    Hi,

    How to pass HTML entities in post meta tags. Actually I have created a custom meta in post area with

    wp_editor(get_post_meta( $post->ID, 'summary', true ),'summary');
    or
    $summary=get_post_meta( $post->ID, 'summary', true );
    wp_editor($summary,'summary');

    and I tried with html_entity_decode() also. But HTML entities are not working.

    I can able to save the text in wp_editor but not style.

Topic Closed

This topic has been closed to new replies.

About this Topic