Allow shortcodes in excerpts for BBB forms

This commit is contained in:
Ivaylo Markov 2020-10-25 18:04:00 +02:00
parent 618d65e659
commit afeb62845f
1 changed files with 2 additions and 0 deletions

View File

@ -4,6 +4,8 @@
add_theme_support( 'post-thumbnails' ); add_theme_support( 'post-thumbnails' );
add_theme_support( 'automatic-feed-links' ); add_theme_support( 'automatic-feed-links' );
add_filter( 'the_excerpt', 'shortcode_unautop');
add_filter( 'the_excerpt', 'do_shortcode');
register_nav_menus( register_nav_menus(
array( 'main-menu' => __( 'Main Menu', 'initfest' ), array( 'main-menu' => __( 'Main Menu', 'initfest' ),