![]() 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/single/media/ |
<?php /** * Blog single audio 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 audio html $audio = acmthemes_get_post_audio_html(); // Display audio if audio exists and the post isn't protected if ( $audio && ! post_password_required() ) : ?> <div id="post-media" class="thumbnail clr"> <div class="blog-post-audio clr"><?php echo wp_kses_post ( $audio ); ?></div> </div> <?php // Else display post thumbnail else : ?> <?php get_template_part( 'partials/single/media/blog-single' ); ?> <?php endif; ?>