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 );
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!
❓Ever wondered when and why ACF uses JSON instead of the database? Check out our summary of the most recent session of ACF Chat Friday for the answer, and make sure to register for the next session.— Advanced Custom Fields (@wp_acf) February 23, 2023
© 2023 Advanced Custom Fields.