Home › Forums › Backend Issues (wp-admin) › Image Captions in WYSIWYG › Reply To: Image Captions in WYSIWYG
Hi Elliot
I’m having this issue as well. In the default WP Editor you get the “wp-cation” class added when the content is outputted to the site. With an ACF WYSIWYG editor it outputs the following:
<div>
<dl id="attachment_166">
<dt><img title="Steve van Doren / BBC News" alt="" src="http://URL.com/new/wp-content/uploads/2012/11/NG_VFC_DTSD-110820-8864-600x400.jpg" width="600" height="400"></dt>
<dd>Steve van Doren / BBC News</dd>
</dl>
</div>
I think it should output:
<div id="attachment_166" class="wp-caption aligncenter"><img class="size-medium wp-image-166 " title="Steve van Doren / BBC News" alt="" src="http://URL.com/wp-content/uploads/2012/11/NG_VFC_DTSD-110820-8864-600x400.jpg" width="600" height="400"><p class="wp-caption-text">Steve van Doren / BBC News</p></div>
Any thoughts?
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.