Home › Forums › Backend Issues (wp-admin) › Help with Easy Footnotes Plugin + ACF WYSIWYG › Reply To: Help with Easy Footnotes Plugin + ACF WYSIWYG
I contacted support and was able to resolve the issue. What I needed to reference was the api-value.php file starting from line 293 in the plugin folder. This pointed me to how I can target the specific field name to make the footnotes work. Updated code (changes in bold):
add_filter(‘acf/format_value/name=publication_content‘, ‘format_value_wysiwyg’, 10, 3);
function format_value_wysiwyg( $value, $post_id, $field )
{
$value = apply_filters( ‘the_content’, $value );
return $value;
}
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.