%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/gachan/www/wp-content/themes/jekas/
Upload File :
Create Path :
Current File : /home/gachan/www/wp-content/themes/jekas/single.php

<?php

 get_header('post');

  $author_id =  $post->post_author;
  $jekas_date   = $post->post_date;
  $jekas_author = get_the_author();
  $jekas_desc   = get_user_meta($author_id,'description',true);



if(function_exists('rwmb_user_meta')){

    $jekas_photo = '';

    $img = rwmb_user_meta('user_picture',array('type' => 'image'),$author_id);

    if(is_array($img))
      $jekas_photo = reset($img);


   // print_r($jekas_photo); exit;

    if(empty($jekas_photo))
        $jekas_photo = array('full_url' => get_template_directory_uri().'/img/user.jpg');



    $jekas_social = rwmb_user_meta('user_social_links',array('multiple'=>true),$author_id);

}else{
        $jekas_photo = array('full_url' => get_template_directory_uri().'/img/user.jpg');

}

?>
 <div class="row fadeInUp">
     <div class="vertical_line">
         <div class="circle_bottom"></div>
     </div>
     <?php get_template_part('content',get_post_format())?>
 </div>

 <section class="content-info">
     <!-- Info Resalt-->
     <div class="info_resalt info_resalt_autor borders margin_top">
       	
       <div class="vertical_line">
          	<div class="circle_bottom"></div>
        </div>
       
         <div class="post">
             <h2><?php esc_html_e('About','jekas')?> <span> <?php esc_html_e('Author','jekas')?> </span> <?php esc_html_e('Post','jekas')?></h2>
             <div class="row">
               	<div class="comment comment_autor padding_top_mini">
                   <div class="col-md-3">
                       <img src="<?php print esc_url($jekas_photo['full_url'])?>" alt="" class="img-circle">
                   </div>
                   <div class="col-md-9 text_left">
                       <div class="title_comment">
                           <span><?php print esc_html($jekas_author) ?> -</span>
                           <span><?php print get_the_date('l, d F Y g:i') ?> </span>
                           <span><a href="#commentform"> <?php esc_html_e('Comment Link','jekas')?> </a> </span>
                       </div>
                      <p><?php print $jekas_desc ?></p>
                       <ul class="social">
                          <?php if(isset($jekas_social) ): ?>
                            <?php foreach($jekas_social as $social_link) :?>
                              <li>
                                  <a href="<?php print esc_url($social_link['link'])?>">
                                      <span class="default" style="background-color: <?php print $social_link['color_over']?>;">
                                          <i class="<?php print $social_link['icon']?>"></i>
                                      </span>
                                  </a>
                              </li>
                            <?php endforeach;?>
                           <?php else: ?>
  
                           <li class="facebook"><a href="#"><span><i class="fa fa-facebook"></i></span></a></li>
                           <li class="twitter"><a href="#"><span><i class="fa fa-twitter"></i></span></a></li>
                           <li class="github"><a href="#"><span><i class="fa fa-github"></i></span></a></li>
                           <li class="linkedin"><a href="#"><span><i class="fa fa-linkedin"></i></span></a></li>
                           <?php endif;?>
  
                       </ul>
                    </div>
                 </div>
             </div>
         </div>
     </div>
     <!-- End Info Resalt-->

 </section>

<?php
  	comments_template();
  get_footer();
?>

Zerion Mini Shell 1.0