| Server IP : 192.241.186.36 / Your IP : 216.73.216.164 Web Server : Apache/2.4.29 (Ubuntu) System : Linux webserver7 4.15.0-194-generic #205-Ubuntu SMP Fri Sep 16 19:49:27 UTC 2022 x86_64 User : root ( 0) PHP Version : 7.4.32 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/pushyard/wp-content/themes/stratusx/templates/ |
Upload File : |
<?php
global $masonry_template_key,$more,$automatic_post_excerpts;
if(!is_single()){
$more = 0;
}
$audio_embed = sanitize_text_field(get_post_meta( get_the_ID(), '_format_audio_embed', true));
$audio_shortcode = sanitize_text_field(get_post_meta( get_the_ID(), '_format_audio_shortcode', true));
$embed_code = false;
if (isset($audio_embed) && $audio_embed > ""){
$embed_code = wp_oembed_get($audio_embed, array('width'=>328));
}elseif($audio_shortcode > ""){
$embed_code = do_shortcode($audio_shortcode);
}
?>
<div class="post-inner">
<?php
if ($embed_code > ""){ ?>
<div class="audio-embed">
<?php echo $embed_code; // sanitize_text_field() just above. ?>
</div>
<?php } ?>
<?php
if (! is_single()){ ?>
<h3 class="post-title"><a href="<?php esc_url(the_permalink()); ?>"><?php the_title(); ?></a></h3>
<?php } ?>
<?php get_template_part('templates/entry-meta'.$masonry_template_key); ?>
<?php
if (is_single() || (!is_single() && $automatic_post_excerpts === 'off')){
$content = apply_filters( 'the_content', get_the_content() );
$content = str_replace( ']]>', ']]>', $content );
if($content != ""){ ?>
<div class="entry-content">
<?php echo $content; ?>
</div>
<?php }
}else{
$excerpt = apply_filters( 'the_excerpt', get_the_excerpt() );
$excerpt = str_replace( ']]>', ']]>', $excerpt );
if($excerpt != ""){ ?>
<div class="entry-content post-excerpt">
<?php echo wp_kses_post( $excerpt ); ?>
</div>
<?php }
} ?>
<?php get_template_part('templates/entry-meta-footer'.$masonry_template_key); ?>
</div>