| Server IP : 213.186.33.4 / Your IP : 216.73.216.222 Web Server : Apache System : Linux webm005.cluster103.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : karinebmkh ( 644538) PHP Version : 8.4.22 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/karinebmkh/www2/wp-content/themes/novablog/post-template/ |
Upload File : |
<?php
// get audio attribute
$embed = get_post_meta(get_the_ID(), 'novablog_audio_embed', true);
$hercules_audio_url = get_post_meta(get_the_ID(), 'novablog_audio_url', true);
$hercules_file = $hercules_audio_url;
$hercules_random = novablog_gener_random(10);
?>
<div id="audio_<?php echo esc_attr($hercules_random); ?>" class="audio-wraper active">
<?php
if ($embed != '') {
echo stripslashes(htmlspecialchars_decode($embed));
} else if($hercules_file !='') {
$hercules_audio_title = get_post_meta(get_the_ID(), 'novablog_audio_title', true);
$hercules_audio_artist = get_post_meta(get_the_ID(), 'novablog_audio_artist', true);
?>
<?php
if (has_post_thumbnail() ):
?>
<div class="post-thumb clearfix">
<figure class="featured-thumbnail thumbnail large">
<?php the_post_thumbnail( 'novablog-standard-large' ); ?>
</figure>
<div class="clear"></div>
</div>
<?php endif; ?>
<div class="audio-wrap">
<div class="audio-meta">
<div class="audio-title"><?php echo esc_attr( $hercules_audio_title); ?></div>
<div class="audio-artist"><?php echo esc_attr( $hercules_audio_artist); ?></div>
</div>
<audio class="audio" preload="auto" controls>
<source src="<?php echo stripslashes(htmlspecialchars_decode($hercules_file)); ?>">
</audio>
</div>
<?php }else{} ?>
</div>