Scaffold Aurora Admin marketing theme (Home, Features, Blog)
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
defined('ABSPATH') || exit;
|
||||
?>
|
||||
<article <?php post_class('post-card'); ?>>
|
||||
<?php if (has_post_thumbnail()) : ?>
|
||||
<a class="post-card-thumb" href="<?php the_permalink(); ?>">
|
||||
<?php the_post_thumbnail('medium'); ?>
|
||||
</a>
|
||||
<?php endif; ?>
|
||||
<div class="post-card-body">
|
||||
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
|
||||
<p class="post-card-date"><?php echo esc_html(get_the_date()); ?></p>
|
||||
<p class="post-card-excerpt"><?php aurora_card_excerpt(); ?></p>
|
||||
<a class="post-card-link" href="<?php the_permalink(); ?>"><?php esc_html_e('Read more', 'aurora-admin-theme'); ?> →</a>
|
||||
</div>
|
||||
</article>
|
||||
Reference in New Issue
Block a user