HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/kofejob-wp/wp-content/themes/kofejob/category.php
<?php
get_header(); 
$actionbBar = kofejob_fl_framework_get_options('action_bar');
$actionbar_space = '';
if(isset($actionbBar) && $actionbBar == 1)
{
	$actionbar_space = 'actionbar_space';
}
?>
<div class="content <?php echo esc_attr($actionbar_space); ?>">
  <div class="container">
    <div class="row">
   <div class="col-lg-8 col-md-12">
            <div class="row blog-grid-row">
                
            <?php 
if ( have_posts() ) { 
	 
    while ( have_posts() )
    { the_post();
	$post_id = get_the_ID();
		?>
        <div class="col-md-6 col-sm-12">
            <div <?php post_class(); ?>>
                <div class="blog grid-blog">
                <?php
					if ( has_post_thumbnail( $post_id ) )
					{
						?>
                        <div class="blog-image"> <a href="<?php the_permalink(); ?>"><?php echo kofejob_get_feature_image(get_the_ID(), 'kofejob_blog_grid_img img-fluid'); ?></a> </div>
                        <?php
					}
                    $profile_clickable = $profile_clickable_close = '';
                    if (kofejob_fl_framework_get_options("em_allow_profile_clickable") == 1) {
                        $profile_clickable .= '<a href="'.esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ).'">';
                        $profile_clickable_close = '</a>';
                    }
					?>
                    <div class="blog-content">
                        <ul class="entry-meta meta-item">
                        <li>
								<div class="post-author">
                                <a href="<?php the_permalink(); ?>">
									<?php 
										$get_author_id = get_the_author_meta('ID');
										$get_author_gravatar = get_avatar_url($get_author_id, array('size' => 30));
										$url = get_author_posts_url(get_the_author_meta('ID'));
									?>
								<img src="<?php echo esc_html($get_author_gravatar);?>"> <span> <?php echo get_the_author(); ?></span>
                                </a>
								</div>
							</li>
                            <li>
							<?php 
							$post_date = get_the_date(); ?>	
							<i class="far fa-calendar-alt me-2"></i><?php echo esc_html($post_date);?></li>
                        </ul>
                       
                    
                    <h3 class="blog-title"><a href="<?php the_permalink(); ?>"> <?php echo get_the_title(); ?></a></h3>

                    <div class="fr-latest-container">
                      <p class="mb-0"><?php echo mb_strimwidth(get_the_excerpt(), 0, 60, '...'); ?></p>
                     </div>
                </div>
            </div>
          </div>
          </div>
		<?php     
    }
}
else
{
    get_template_part( 'template-parts/blog/content', 'none' );
}
?>
 </div>


 
				 	 <?php
			            kofejob_paginationblog();
                        wp_reset_query();
                      ?>
             
            
        </div>
        <?php
        
        get_sidebar();
    
    ?>
       
    </div>

    
    
  </div>
 
    </div>
<?php if(isset($kofejob_theme_options['footer_type'])) { $footer_type  = $kofejob_theme_options['footer_type']; } else { $footer_type  = 0; }
if($footer_type  ==  1) {
    if($footer_type  ==  1 && in_array('elementor-pro/elementor-pro.php', apply_filters('active_plugins', get_option('active_plugins'))))
    {
        elementor_theme_do_location('footer');
        get_footer();
    }else{
        get_footer();
    }
}else {
    get_template_part('footer');
}
?>