OwlCyberSecurity - MANAGER
Edit File: grid.php
<?php $sticky_class = is_sticky()?'sticky':''; ?> <article id="post-<?php the_ID(); ?>" <?php post_class('post-wrap '. $sticky_class); ?> > <?php if( ( has_post_format('audio') || has_post_format('gallery') || has_post_format('video' ) || has_post_thumbnail() ) && chursy_blog_show_media() == 'yes' ) : ?> <div class="post-media"> <?php if( has_post_format('audio') ){ get_template_part( 'template-parts/parts/audio' ); }elseif( has_post_format('gallery') ){ get_template_part( 'template-parts/parts/gallery' ); }elseif( has_post_format('video' )){ get_template_part( 'template-parts/parts/video' ); }elseif(has_post_thumbnail()){ get_template_part( 'template-parts/parts/thumbnail_grid' ); } ?> </div> <?php endif; ?> <?php get_template_part( 'template-parts/parts/meta' ); ?> <?php if( chursy_blog_show_title() == 'yes' ){ get_template_part( 'template-parts/parts/title' ); } ?> <?php if( chursy_blog_show_excerpt() == 'yes' ){ ?> <div class="post-excerpt"> <p> <?php echo chursy_custom_text( get_the_excerpt(), 17 ); ?> </p> </div> <?php } ?> <?php if( chursy_blog_show_readmore() == 'yes' ){ get_template_part( 'template-parts/parts/readmore' ); } ?> </article>