| Server IP : 144.76.79.100 / Your IP : 216.73.216.103 [ Web Server : Apache System : Linux ch05.wehostwebserver.com 5.14.0-611.5.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 08:09:09 EST 2025 x86_64 User : razzlestore ( 1092) PHP Version : 8.2.29 Disable Function : NONE Domains : 343 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /home/razzlestore/public_html/wp-content/themes/zugan/template-parts/ |
Upload File : |
<?php
/**
* @author RadiusTheme
* @since 1.0
* @version 1.0
*/
$zugan_has_entry_meta = ( ( !has_post_thumbnail() && ZuganTheme::$options['post_date'] ) || ZuganTheme::$options['post_author_name'] || ZuganTheme::$options['post_comment_num'] || ZuganTheme::$options['post_cats'] || ZuganTheme::$options['post_view'] ) ? true : false;
$zugan_comments_number = number_format_i18n( get_comments_number() );
$zugan_comments_html = $zugan_comments_number < 2 ? esc_html__( 'Comment' , 'zugan' ) : esc_html__( 'Comments' , 'zugan' );
$zugan_comments_html = $zugan_comments_number .' '. $zugan_comments_html;
$zugan_author_bio = get_the_author_meta( 'description' );
$subtitle = get_post_meta( get_the_ID(), 'zugan_subtitle', true );
$youtube_link = get_post_meta( get_the_ID(), 'zugan_youtube_link', true );
$author = $post->post_author;
$news_author_fb = get_user_meta( $author, 'zugan_facebook', true );
$news_author_tw = get_user_meta( $author, 'zugan_twitter', true );
$news_author_ld = get_user_meta( $author, 'zugan_linkedin', true );
$news_author_gp = get_user_meta( $author, 'zugan_gplus', true );
$news_author_pr = get_user_meta( $author, 'zugan_pinterest', true );
$zugan_author_designation = get_user_meta( $author, 'zugan_author_designation', true );
?>
<div id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
<div class="entry-header">
<?php if ( ZuganTheme::$options['post_featured_image'] == true ) { ?>
<?php if ( has_post_thumbnail() ) { ?>
<div class="entry-thumbnail-area"><?php the_post_thumbnail( 'zugan-size1' , ['class' => 'img-responsive'] ); ?></div>
<?php } ?>
<?php } ?>
<?php if ( $zugan_has_entry_meta ) { ?>
<div class="entry-meta">
<ul>
<?php if ( ZuganTheme::$options['post_date'] ) { ?>
<li><i class="fa fa-clock-o" aria-hidden="true"></i><?php echo get_the_date();?></li>
<?php } ?>
<?php if ( ZuganTheme::$options['post_author_name'] ) { ?>
<li><i class="fa fa-user" aria-hidden="true"></i><?php the_author_posts_link(); ?></li>
<?php } ?>
<?php if ( ZuganTheme::$options['post_comment_num'] ) { ?>
<li><i class="fa fa-comments" aria-hidden="true"></i><?php echo esc_html($zugan_comments_html); ?></li>
<?php } ?>
<?php if ( ZuganTheme::$options['post_cats'] ) { ?>
<li class="blog-cat"><i class="fa fa-tag" aria-hidden="true"></i><?php echo the_category( ', ' );?></li>
<?php } ?>
<?php if ( ZuganTheme::$options['post_view'] && function_exists( 'zugan_views' ) ) { ?>
<li><span class="meta-views meta-item "><?php echo zugan_views(); ?></span></li>
<?php } ?>
</ul>
<div class="clear"></div>
</div>
<?php } ?>
</div>
<?php
if ( !empty( get_the_content() ) ) { ?>
<div class="entry-content"><?php the_content();?>
<?php wp_link_pages( array(
'before' => '<div class="page-links">' . __( 'Pages:', 'zugan' ),
'after' => '</div>',
'link_before' => '<span class="page-number">',
'link_after' => '</span>',
) ); ?>
</div>
<?php } ?>
<?php if ( ( ZuganTheme::$options['post_tags'] && has_tag() ) || ZuganTheme::$options['post_share'] ) { ?>
<div class="entry-footer">
<div class="entry-footer-meta">
<?php if ( ZuganTheme::$options['post_tags'] && has_tag() ) { ?>
<div class="item-tags">
<span><?php esc_html_e( 'Tags:', 'zugan' );?></span><?php echo get_the_term_list( $post->ID, 'post_tag', '', ', ' ); ?>
</div>
<?php } if ( ( ZuganTheme::$options['post_share'] ) && ( function_exists( 'zugan_post_share' ) ) ) { ?>
<div class="post-share"><span><?php esc_html_e( 'Share:', 'zugan' );?></span><?php zugan_post_share(); ?></div>
<?php } ?>
</div>
</div>
<?php } ?>
<!-- author bio -->
<?php if ( ZuganTheme::$options['post_author_bio'] == '1' ) { ?>
<div class="media about-author">
<div class="<?php if ( is_rtl() ) { ?>pull-right<?php } else { ?>pull-left<?php } ?>">
<?php echo get_avatar( $author, 105 ); ?>
</div>
<div class="media-body">
<div class="about-author-info">
<div class="author-title"><?php the_author_posts_link();?></div>
<div class="author-designation"><?php if ( !empty ( $zugan_author_designation ) ) { echo esc_html( $zugan_author_designation ); } else { $user_info = get_userdata( $author ); echo esc_html ( implode( ', ', $user_info->roles ) ); } ?></div>
</div>
<?php if ( $zugan_author_bio ) { ?>
<div class="author-bio"><?php echo esc_html( $zugan_author_bio );?></div>
<?php } ?>
<ul class="author-box-social">
<?php if ( ! empty( $news_author_fb ) ){ ?><a href="<?php echo esc_attr( $news_author_fb ); ?>"><li><i class="fa fa-facebook" aria-hidden="true"></i></li></a><?php } ?>
<?php if ( ! empty( $news_author_tw ) ){ ?><a href="<?php echo esc_attr( $news_author_tw ); ?>"><li><i class="fa fa-twitter" aria-hidden="true"></i></li></a><?php } ?>
<?php if ( ! empty( $news_author_gp ) ){ ?><a href="<?php echo esc_attr( $news_author_gp ); ?>"><li><i class="fa fa-google-plus" aria-hidden="true"></i></li></a><?php } ?>
<?php if ( ! empty( $news_author_ld ) ){ ?><a href="<?php echo esc_attr( $news_author_ld ); ?>"><li><i class="fa fa-linkedin" aria-hidden="true"></i></li></a><?php } ?>
<?php if ( ! empty( $news_author_pr ) ){ ?><a href="<?php echo esc_attr( $news_author_pr ); ?>"><li><i class="fa fa-pinterest-p" aria-hidden="true"></i></li></a><?php } ?>
</ul>
</div>
<div class="clear"></div>
</div>
<?php } ?>
<?php if( ZuganTheme::$options['show_related_post'] == '1' && is_single() && !empty ( zugan_related_post() ) ) { ?>
<div class="related-post">
<?php zugan_related_post(); ?>
</div>
<?php } ?>
<?php
if ( comments_open() || get_comments_number() ){
comments_template();
}
?>
<!-- next/prev post -->
<?php if ( ZuganTheme::$options['post_links'] ) { zugan_post_links_next_prev(); } ?>
</div>