Home › Forums › General Issues › wysiwyg and RICG Responsive Images Not working › Reply To: wysiwyg and RICG Responsive Images Not working
I doubt this is something that will be added to ACF since it’s a compatibility problem with another plugin, that’s part of what I do, solve problems. this was actually a fairly easy one. I had a feeling that the responsive image plugin was filtering the_content
even before I looked and I know that ACF does not use the_content
on wysisyg fields. I’m assuming that if WP adds this to core that they’ll add this to part of the content filters like autop and the like and then the developer of ACF will probably add it to ACF. So you’ll need to look out for the potential of having images filtered twice at some point I guess.
I suppose it should be done so that potential errors can be avoided.
if (function_exists('tevkori_filter_content_images')) {
add_filter('acf_the_content', 'tevkori_filter_content_images', 5, 1);
}
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.