skip to Main Content

Allow Shortcodes in bbPress Forumns & Replies

By default bbPress doesn't support shortcodes for the output of the Forum descriptions or in replies. You can use the do_shortcode function to include support by hooking into the bbPress content filters as shown below. Simply add this code to your child theme's functions.php file

add_filter( 'bbp_get_forum_content', 'do_shortcode' );
add_filter( 'bbp_get_reply_content', 'do_shortcode' );
All PHP snippets should be added via child theme's functions.php file or via a plugin (we recommend Code Snippets)
Back To Top