Shortcode
-
Hi, thanks for your work.
I need to include a shortcode inside the term description. I tried lots of possible solutions but the only one that worked was modifying a plugin archive.
In public/layout/partials/content.php line 25 I’ve added “do_shortcode( $wcs_term->description )”. This works but I will lose it on the next update.
Is there any way to do it without editing this file? maybe copying the file in my child-theme? or some filter in functions.php? I’ve found on forums this one: add_filter( ‘term_description’, ‘do_shortcode’ ); but it doesn’t work.
Thanks!
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Shortcode’ is closed to new replies.