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

#10661
Tom
Keymaster

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.