Server IP : 104.21.14.48 / Your IP : 18.220.197.67 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/chroot/var/www/wp-content/themes/sammy/template-parts/post/ |
Upload File : |
<?php $sticky_class = is_sticky()?'sticky':''; ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-wrap '. $sticky_class); ?> > <?php if( ( has_post_format('audio') || has_post_format('gallery') || has_post_format('video' ) || has_post_thumbnail() ) && podover_post_show_media() == 'yes' ): ?> <div class="post-media"> <?php if( has_post_format('audio') ){ get_template_part( 'template-parts/parts/audio' ); }elseif(has_post_format('gallery')){ get_template_part( 'template-parts/parts/gallery' ); }elseif(has_post_format('video')){ get_template_part( 'template-parts/parts/video' ); }elseif(has_post_thumbnail()){ get_template_part( 'template-parts/parts/thumbnail' ); } ?> </div> <?php endif; ?> <?php if( podover_post_show_title() == 'yes' ){ get_template_part( 'template-parts/parts/title' ); } ?> <div class="post-meta"> <?php get_template_part( 'template-parts/parts/meta' ); ?> </div> <div class="post-content"> <?php get_template_part( 'template-parts/parts/content' ); ?> </div> <div class="post-tags-and-share"> <?php if(has_tag() && podover_post_show_tag() == 'yes' ){ ?> <div class="post-tags"> <?php get_template_part( 'template-parts/parts/tags' ); ?> </div> <?php } ?> <?php if( podover_post_show_share_social_icon() == 'yes' ){ ?> <?php apply_filters( 'ova_share_social', get_the_permalink(), get_the_title() ); ?> <?php } ?> </div> <?php if( podover_post_show_next_prev_post() == 'yes' ){ ?> <div class="ova-next-pre-post"> <?php $prev_post = get_previous_post(); $next_post = get_next_post(); ?> <?php if($prev_post) { ?> <a class="pre" href="<?php echo esc_attr(get_permalink($prev_post->ID)); ?>"> <span class="num-pre"> <?php echo esc_html(get_the_title($prev_post->ID)); ?> </span> </a> <?php } else { ?> <div class="none-pre"></div> <?php } ?> <?php if($next_post) { ?> <a class="next" href="<?php echo esc_attr(get_permalink($next_post->ID)); ?> "> <span class="num-next"> <?php echo esc_html(get_the_title($next_post->ID)); ?> </span> </a> <?php } ?> </div> <?php } ?> </article>