From afeb62845f19abb62f59e46197e05ecd62ea8ba3 Mon Sep 17 00:00:00 2001 From: Ivaylo Markov Date: Sun, 25 Oct 2020 18:04:00 +0200 Subject: [PATCH] Allow shortcodes in excerpts for BBB forms --- functions.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/functions.php b/functions.php index 73f6900..b036c20 100644 --- a/functions.php +++ b/functions.php @@ -4,6 +4,8 @@ add_theme_support( 'post-thumbnails' ); add_theme_support( 'automatic-feed-links' ); +add_filter( 'the_excerpt', 'shortcode_unautop'); +add_filter( 'the_excerpt', 'do_shortcode'); register_nav_menus( array( 'main-menu' => __( 'Main Menu', 'initfest' ),