To allow shortcodes in your WordPress category pages, just go into your active theme’s function.php and add:
1 2 3 4 | add_filter( 'term_description', 'shortcode_unautop'); add_filter( 'term_description', 'do_shortcode' ); |
-->
To allow shortcodes in your WordPress category pages, just go into your active theme’s function.php and add:
1 2 3 4 | add_filter( 'term_description', 'shortcode_unautop'); add_filter( 'term_description', 'do_shortcode' ); |
0 people found this article useful
0 people found this article useful