Current Path : /var/test/www/ooareogundevinitiative/wp-content/themes/pain/framework/templates/blog/home/ |
Current File : /var/test/www/ooareogundevinitiative/wp-content/themes/pain/framework/templates/blog/home/entry.php |
<?php $jwstheme_options = $GLOBALS['jwstheme_options']; $tb_blog_post_readmore_text = (int) isset($jwstheme_options['tb_blog_post_readmore_text']) ? $jwstheme_options['tb_blog_post_readmore_text'] : 'VIEW DETAIL'; ?> <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>> <div class="jw-blog-item"> <div class="jw-blog-item-inner"> <?php if (has_post_thumbnail()) the_post_thumbnail('jwstheme_custom_blog_single_size'); ?> <div class="jw-content"> <div class="jw-publish"> <span class="jw-day"><?php echo get_the_date('d'); ?></span> <span class="jw-month"><?php echo get_the_date('M'); ?></span> </div> <ul class="jw-meta"> <?php if ( is_sticky() ) { ?> <li class="publish"><?php _e('<i class="fa fa-thumb-tack"></i> Sticky', 'pain'); ?></li> <?php } ?> <li class="jw-author"><?php echo '<i class="fa fa-user"></i>'.__('By ', 'pain').'<span>'.get_the_author().'</span>'; ?></li> <li class="jw-location"><?php echo '<i class="fa fa-map-marker"></i>'.__('Cause in ', 'pain').'<span>'.get_post_meta(get_the_ID(),'jw_post_donation_location',true).'</span>'; ?></li> </ul> <h3 class="jw-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3> <div class="jw-excerpt"><?php the_excerpt(); ?></div> <a class="jw-btn-main" href="<?php the_permalink(); ?>"><?php echo wp_kses_post($tb_blog_post_readmore_text); ?></a> </div> </div> </div> </article>