We're merging with GenerateBlocks! Learn more here.

Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Excerpt as title Reply To: Excerpt as title

#16737
Tom
Keymaster

Hmm, tricky.

I suppose you could disable the title, then do this:

add_action( 'wpsp_after_content', function( $settings ) {
    if ( 123 === $settings['list_id'] ) {
        echo '<h2>';
            echo get_the_excerpt();
        echo '</h2?';
    }
} );