Support

Account

Home Forums Pre-purchase Questions AFC to work with jetpack shortcodes Reply To: AFC to work with jetpack shortcodes

  • Almost there, thank you John!

    Following your link, I plugged the code into the client’s child theme functions.php:

    function my_acf_format_value( $value, $post_id, $field ) {

    // run do_shortcode on all textarea values
    $value = do_shortcode($value);

    // return
    return $value;
    }

    add_filter(‘acf/format_value/type=textarea’, ‘my_acf_format_value’, 10, 3);

    What am I missing?
    Here’s the result with no change:

    http://dermutanderer.de/de/knusprige-gans-mac-cheese-mit-dem-aeg-procombi-plus/