| Server IP : 104.26.4.103 / Your IP : 216.73.216.4 Web Server : nginx/1.27.1 System : Linux in-5 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64 User : arabianexpress ( 1872) PHP Version : 8.0.30 Disable Function : exec,passthru,shell_exec,system,proc_open,popen,parse_ini_file,show_source MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /storage/v9321/blueoceanprod/public_html/wp-content/themes/techkit/ |
Upload File : |
<?php
/**
* @author RadiusTheme
* @since 1.0
* @version 1.0
*/
// Layout class
if ( TechkitTheme::$layout == 'full-width' ) {
$techkit_layout_class = 'col-sm-12 col-12';
}
else{
$techkit_layout_class = 'col-lg-8 col-md-12 col-12';
}
$techkit_is_post_archive = is_home() || ( is_archive() && get_post_type() == 'post' ) ? true : false;
$techkit_author_bio = get_the_author_meta( 'description' );
$subtitle = get_post_meta( get_the_ID(), 'techkit_subtitle', true );
$author = $post->post_author;
$news_author_fb = get_user_meta( $author, 'techkit_facebook', true );
$news_author_tw = get_user_meta( $author, 'techkit_twitter', true );
$news_author_ld = get_user_meta( $author, 'techkit_linkedin', true );
$news_author_gp = get_user_meta( $author, 'techkit_gplus', true );
$news_author_pr = get_user_meta( $author, 'techkit_pinterest', true );
$techkit_author_designation = get_user_meta( $author, 'techkit_author_designation', true );
?>
<?php get_header(); ?>
<div id="primary" class="content-area">
<div class="container">
<div class="row">
<?php if ( TechkitTheme::$layout == 'left-sidebar' ) { get_sidebar(); } ?>
<div class="<?php echo esc_attr( $techkit_layout_class );?>">
<main id="main" class="site-main">
<!-- author bio -->
<?php if ( TechkitTheme::$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 ( $techkit_author_designation ) ) { echo esc_html( $techkit_author_designation ); } else { $user_info = get_userdata( $author ); echo esc_html ( implode( ', ', $user_info->roles ) ); } ?></div>
</div>
<?php if ( $techkit_author_bio ) { ?>
<div class="author-bio"><?php echo esc_html( $techkit_author_bio );?></div>
<?php } ?>
<div class="about-author-social">
<?php ?>
<ul class="author-box-social">
<?php if ( ! empty( $news_author_fb ) ){ ?><li><a href="<?php echo esc_attr( $news_author_fb ); ?>"><i class="fa fa-facebook" aria-hidden="true"></i></a></li><?php } ?>
<?php if ( ! empty( $news_author_tw ) ){ ?><li><a href="<?php echo esc_attr( $news_author_tw ); ?>"><i class="fa fa-twitter" aria-hidden="true"></i></a></li><?php } ?>
<?php if ( ! empty( $news_author_gp ) ){ ?><li><a href="<?php echo esc_attr( $news_author_gp ); ?>"><i class="fa fa-google-plus" aria-hidden="true"></i></a></li><?php } ?>
<?php if ( ! empty( $news_author_ld ) ){ ?><li><a href="<?php echo esc_attr( $news_author_ld ); ?>"><i class="fa fa-linkedin" aria-hidden="true"></i></a></li><?php } ?>
<?php if ( ! empty( $news_author_pr ) ){ ?><li><a href="<?php echo esc_attr( $news_author_pr ); ?>"><i class="fa fa-pinterest-p" aria-hidden="true"></i></a></li><?php } ?>
</ul>
<?php ?>
</div>
</div>
<div class="clear"></div>
</div>
<?php } ?>
<?php if ( have_posts() ) : ?>
<?php
while ( have_posts() ) : the_post();
get_template_part( 'template-parts/content-3', get_post_format() );
endwhile;
?>
<div class="mt50"><?php TechkitTheme_Helper::pagination();?></div>
<?php else: ?>
<?php get_template_part( 'template-parts/content', 'none' );?>
<?php endif;?>
</main>
</div>
<?php
if ( TechkitTheme::$layout == 'right-sidebar' ) {
get_sidebar();
}
?>
</div>
</div>
</div>
<?php get_footer(); ?>