| Server IP : 195.130.67.5 / Your IP : 216.73.217.154 Web Server : Microsoft-IIS/10.0 System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586 User : IUSR ( 0) PHP Version : 7.4.19 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/inetpub/wwwroot/stirizo/wp-content/plugins/widgetkit-pro/widgets/layout/grid/ |
Upload File : |
<?php ?>
<div id="grid-9" class="grid-layout grid-9">
<div class="grid-layout-wrapper grid-9-wrapper">
<?php
/**
* Argument
* for query post
* ================
*/
$count = 0;
$args = array(
'cat' => $cat_single_id,
'post_type' => 'post',
'posts_per_page' => $post_num_to_show,
);
$q = new WP_Query($args);
if($q->have_posts()):
while($q->have_posts()):
$q->the_post();
?>
<div class="single-column">
<?php if(has_post_thumbnail()): ?>
<div class="post-thumb">
<a href="<?php the_permalink() ?>">
<?php the_post_thumbnail('full'); ?>
</a>
</div>
<?php endif; ?>
<div class="post-content">
<?php if($show_cat_tag): ?>
<div class="post-tag">
<a href="<?php echo get_category_link($cat_single_id); ?>" style="
background-color:<?php echo $tax_tag_bg_color;?>;
color:white;
">
<?php echo get_cat_name($cat_single_id); ?>
</a>
</div>
<?php endif; ?>
<a href="<?php the_permalink(); ?>" class="post-title">
<h3><?php the_title(); ?></h3>
</a>
<div class="post-meta">
<?php do_action('magmax-post-meta'); ?>
</div>
<div class="post-excerpt">
<?php echo wp_trim_words(get_the_excerpt(), $excerpt_word_count, ''); ?>
</div>
<?php if($full_article_link): ?>
<div class="single-post-link">
<a href="<?php the_permalink() ?>" class="magmax-grid-list-button" style="
">
<?php esc_html_e('Full Article', 'widgetkit-pro'); ?>
</a>
</div>
<?php endif; ?>
</div>
</div>
<?php
endwhile;
wp_reset_postdata();
endif;
?>
</div>
</div>