WordPress.org

Support

Support » Plugins and Hacks » Extra paragraph appearing in WYSIWYG editor

Extra paragraph appearing in WYSIWYG editor

  • Hi,

    I am using WordPress 3.5.1 and Advanced Custom Field 4.1.6.

    I have setup a Wysiwyg Editor fieldtype for a Page, and whenever I add a shortcode or press enter, I get a blank P tag appearing or teh shoortcode is wrapped in a P tag.

    How do I solve this problem. On my template, I calling the field type like this:

    <?php
    if(get_field(‘field_name’)== “”)
    {
    echo ‘
    <section id=”agency-intro”>
    <div class=”container”>

    . get_field(‘cf_agency_intro’) .

    </div>
    </section>
    ‘;
    }
    ?>

    Thanks

    JC

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

  • The topic ‘Extra paragraph appearing in WYSIWYG editor’ is closed to new replies.