diff --git a/src/templates/subscribe.php b/src/templates/subscribe.php index 379fbc3..b3c74e8 100755 --- a/src/templates/subscribe.php +++ b/src/templates/subscribe.php @@ -190,7 +190,7 @@ $message = str_replace( '[post_title]', $target_post->post_title, $message ); } - echo wp_kses( wpautop( $message ), wp_kses_allowed_html( 'post' ) ); + echo do_shortcode(wp_kses( wpautop( $message ), wp_kses_allowed_html( 'post' ) )); } @@ -214,7 +214,7 @@ } else { $message = str_replace( '[post_title]', $target_post->post_title, $message ); } - echo '
' . wp_kses( $message, wp_kses_allowed_html( 'post' ) ) . '
'; + echo '' . do_shortcode(wp_kses( $message, wp_kses_allowed_html( 'post' ) )) . '
'; // output the form @@ -292,7 +292,7 @@ } else { $message = str_replace( '[post_title]', esc_html( $target_post->post_title ), $message ); } - echo '' . wp_kses( $message, wp_kses_allowed_html( 'post' ) ) . '
'; + echo '' . do_shortcode(wp_kses( $message, wp_kses_allowed_html( 'post' ) ) ). '
'; ?>