Support

Account

Forum Replies Created

  • Apparently it’s just a case of the devs uploading it. I assume there are other fixes/improvements going into the same update that still need finishing.

    However, if changing the select2 version didn’t help are you sure that it’s down to a conflict with other plugins?

  • Thanks John. That’s fixed the problem for now.

  • Thanks John. I’d opened a ticket before replying to this thread. Apparently a patch might be ready (according to the response I’ve had so far)

  • It would seem to me that if ACF are using an outdated copy of Select2 and if that is the cause of the conflict then ACF either needs to isolate the plugin somehow or find a way to bring it up to date. The other plugins using Select2 all seem to play fine together – it’s just ACF having trouble since the latest update.

  • Yeah, this has caused some pretty major errors on one my sites (in production).

    I dug into the console a little and saw that the select2.min.js file was actually being called from the Yoast SEO plugin folder. I then deactivated Yoast and found Woocommerce causing the exact same issue. Once I deactivated Woocommerce ACF started working as expected.

  • I’ve solved this myself by adding the following to my theme’s functions.php:

    function acf_apply_content_filter_for_api($value, $post_id, $field){
         return str_replace( ']]>', ']]>', apply_filters( 'the_content', $value) );
    }
    function add_content_filter_ACF(){
       if(!is_admin()){
          remove_all_filters('acf/format_value/type=wysiwyg');
          add_filter('acf/format_value/type=wysiwyg', 'acf_apply_content_filter_for_api', 10, 3);
       }
    }
    add_action('init', 'add_content_filter_ACF');
  • Sorry to hijack this thread but I’m looking at the exact same issue. Civil footnotes is a basic plugin that allows content authors to write footnotes. The plugin hooks on to the_content and generates a list of numbered footnotes by searching for anything matching the (( this is a footnote )) pattern.

    Here’s the plugin: https://gist.github.com/Jolora/a947b856d3440f8cc029

    I was wondering if you could give a clue as to how I would go about getting this plugin to also search any WYSIWYG ACF fields, including those inside flexible content fields.

    Any help would be appreciated please. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)