Server : nginx/1.24.0 System : Linux ip-172-31-33-48 6.14.0-1011-aws #11~24.04.1-Ubuntu SMP Fri Aug 1 02:07:25 UTC 2025 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE Directory : /var/www/html/wp-content/themes/oceanwp/partials/single/media/ |
Upload File : |
<?php /** * Blog single video format media * * @package OceanWP WordPress theme */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } // Return if Ocean Extra is not active. if ( ! OCEAN_EXTRA_ACTIVE ) { return; } // Get post video. $video = oceanwp_get_post_video_html(); // Display video if one exists and it's not a password protected post. if ( $video && ! post_password_required() ) : ?> <div id="post-media" class="thumbnail clr"> <div class="blog-post-video"> <?php echo $video; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> </div><!-- .blog-post-video --> </div><!-- #post-media --> <?php // Else display post thumbnail. else : get_template_part( 'partials/single/media/blog-single' ); endif;