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 WPSP with videos Reply To: WPSP with videos


So first you’ll want to disable the images in your list settings.

Then add this PHP:

add_action( 'wpsp_before_header', function() {
    $video = get_post_meta( get_the_ID(), 'your_field_name', true );

    if ( $video ) {
        echo $video;
} );

This assumes that the custom field has the full video HTML.