HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: /home/mmickelson/martyknows.com/wp-content/themes/shaan/template-parts/content-video.php
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>

	<header class="entry-header">
		<?php the_title( sprintf('<h2 class="entry-title"><a href="%s" rel="bookmark">', esc_url( get_permalink() ) ), '</a></h2>' ); ?>
	</header>

    <div class="entry-content">
	    <?php
	    $content    =   apply_filters( 'the_content', get_the_content() );
	    $video      =   false;
	    if( !strpos( $content, 'wp-playlist-script' ) ) {
		    $video  =   get_media_embedded_in_content( $content, array(
			    'video', 'object', 'embed', 'iframe'
		    ) );
	    }
	    if( $video ) {
		    printf( '<div class="entry-video">%1$s</div>', $video[0] );
	    }
	    ?>
	    <?php shaan_excerpt(); ?>

        <div class="entry-info">
            <?php shaan_entry_meta(); ?>
        </div>
    </div><!-- .entry-content -->
</article>