Published By :chuni | 28 July 2021
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>
<div class=”row” id=”divShowLessBlog”>
<?php
// the query
$arg = array(
‘post_type’ => ‘blog’,
‘order’ => ‘DESC’,
‘posts_per_page’ => 6,
‘offset’ => 2
);
$the_query = new WP_Query($arg);
if ($the_query->have_posts()) :
?>
<?php while ($the_query->have_posts()) : $the_query->the_post(); ?>
<div class=”col-12 col-md-6 col-lg-4 p-3 portfolio resource”>
<div class=”card”>
<a href=”<?php the_permalink(); ?>”>
<div class=”thumbnail”>
<img src=”<?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-image’, true);
?>” class=”img-fluid” alt=”<?php
the_title();
?>”>
</div>
<div class=”card-body portfolio-body”>
<h3 class=”title”><?php the_title(); ?></h3>
<p class=”description”>By <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-author’, true);
?> | <?php
$prefix = ‘_tkc_’;
echo get_post_meta(get_the_ID(), $prefix . ‘blog-published-date’, true);
?></p>
</div>
</a>
</div>
</div>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
<?php endif; ?>
</div>