Support

Account

Home Forums Bug Reports Markdown issue with ACF 5.0.1 update

Solving

Markdown issue with ACF 5.0.1 update

  • Hi @elliotcondon,

    There is an issue with the latest update of ACF (5.0.1) and PHP Markdown—the markdown now fails to parse fields supplied to it by ACF.

    Any ideas?

    All the best,

    Rob

  • I had the same problem, to solved I added the plugin: Markdown Extra

    And add-on: ACF WordPress Wysiwyg Field

    In functions.php I added:

    // style editor
    remove_filter( 'the_content', 'wpautop' );
    remove_filter( 'the_content', 'wptexturize' );
    remove_filter( 'the_excerpt', 'wpautop' );
    remove_filter( 'the_excerpt', 'wptexturize' );
    remove_filter( 'acf_the_content', 'wpautop' );
    remove_filter( 'acf_the_content', 'wptexturize' );
    
    // markdown support
    add_filter( 'the_content', 'Markdown' );
    add_filter( 'the_excerpt', 'Markdown' );
    add_filter( 'acf_the_content', 'Markdown' );

    The plugin Typewrite also work for me only offline.

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

The topic ‘Markdown issue with ACF 5.0.1 update’ is closed to new replies.