![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/walla3t.corals.io/wp-content/themes/apper/partials/entry/media/ |
<?php /** * Blog entry video format media * * @package Apper WordPress theme */ // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) { exit; } // Return if acmthemes Extra is not active if ( ! ACMTHEMES_EXTRA_ACTIVE ) { return; } // Get post video $video = acmthemes_get_post_video_html(); ?> <?php // Display video if one exists and it's not a password protected post if ( $video && ! post_password_required() ) : ?> <div class="blog-entry-media thumbnail clr"> <div class="blog-entry-video"> <?php echo wp_kses_post( $video ); ?> </div><!-- .blog-entry-video --> </div><!-- .blog-entry-media --> <?php // Else display post thumbnail else : ?> <?php get_template_part( 'partials/entry/media/blog-entry' ); ?> <?php endif; ?>