Home › Forums › Add-ons › Flexible Content Field › Each field is displayed in different div › Reply To: Each field is displayed in different div
Check the content in the sub field ‘main_content’
The extra div elements being output is happening here
<?php the_sub_field('main_content'); ?>
so those div elements must be in the wysiwyg editor. This can happen when copying content from a web page and pasting it directly into a WP WYSIWYG editor.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.