WordPress.org

Ready to get started?Download WordPress

Forums

Advanced Custom Fields
[resolved] Wysiwyg editor problem, p tags stripped (2 posts)

  1. chodorowicz
    Member
    Posted 2 years ago #

    When I display the content of wysiwyg field the p tags seems to be stripped.
    - backend: http://cl.ly/02263q2b0H2X2u0v2O31
    - frontend http://cl.ly/1S1h1T0J3M0S1A002i0R

    <?php echo get_post_meta($post->ID, "secondary_content", true); ?>

    Any idea what could be the problem

    http://wordpress.org/extend/plugins/advanced-custom-fields/

  2. chodorowicz
    Member
    Posted 2 years ago #

    OK, the solution is to use plugins function get_field($field_name). Then it works. I'll leave it here - maybe it helps somebody.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic