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

#16759
Bernhard
Participant

I forgot


// WPSP show excerpt field on pages
add_action( 'wpsp_before_content', function( $settings ) {
    $meta = get_post_meta( get_the_ID(), '_your_custom_meta_key', true );

    if ( isset( $meta ) && '' !== $meta && 23138 == $settings['list_id'] ) {
        echo $meta;
    }
} );