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


You’d do this:

add_action( 'wpsp_after_content', function( $settings ) {
    $custom_field = get_post_meta( get_the_ID(), 'wpsp_title2', true );

    if ( $custom_field && 32293 === $settings['list_id'] ) {
        echo '<h2>';
            echo $custom_field;
        echo '</h2>';
} );