| 1234567891011121314151617181920212223242526272829303132 |
- <?php
- /**
- * Template part for displaying page content in page.php
- *
- * @link https://codex.wordpress.org/Template_Hierarchy
- *
- * @package WordPress
- * @subpackage Taskereasy
- * @since 1.0
- * @version 1.0
- */
- ?>
- <div class="col-md-6">
- <article <?php post_class('post-container grid-style'); ?>>
- <?php if(has_post_thumbnail()){ ?>
- <div class="post-thumbnail">
- <a href="<?php the_permalink() ?>"><?php the_post_thumbnail(); ?></a>
- </div>
- <?php } ?>
- <div class="post-meta">
- <ul>
- <li><?php echo esc_html__('By:', 'taskereasy') ?> <a href="<?php echo get_author_posts_url(get_the_author_meta('ID')); ?>"><?php the_author(); ?></a></li>
- <li><a href="<?php the_permalink(); ?>"><?php echo get_the_date(); ?></a></li>
- <li><?php the_category(); ?></li>
- </ul>
- </div>
- <h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
- <div class="excerpt"><?php echo taskereasy_custom_excerpt_length(19); ?></div>
- <a href="<?php the_permalink(); ?>" class="btn"><?php echo esc_html__ ('Read More', 'taskereasy'); ?> <i class="fa fa-angle-right"></i></a>
- </article>
- </div>
|