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/
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.