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

  1. chodorowicz
    Posted 4 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


  2. chodorowicz
    Posted 4 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

  • Advanced Custom Fields
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic