Scaffold Aurora Admin marketing theme (Home, Features, Blog)
This commit is contained in:
+26
@@ -0,0 +1,26 @@
|
||||
<?php
|
||||
defined('ABSPATH') || exit;
|
||||
get_header();
|
||||
?>
|
||||
<div class="container">
|
||||
<?php while (have_posts()) : the_post(); ?>
|
||||
<article <?php post_class('single-post'); ?>>
|
||||
<header class="single-post-header">
|
||||
<h1><?php the_title(); ?></h1>
|
||||
<p class="post-card-date"><?php echo esc_html(get_the_date()); ?></p>
|
||||
</header>
|
||||
<?php if (has_post_thumbnail()) : ?>
|
||||
<div class="single-post-thumb"><?php the_post_thumbnail('large'); ?></div>
|
||||
<?php endif; ?>
|
||||
<div class="single-post-content">
|
||||
<?php the_content(); ?>
|
||||
</div>
|
||||
</article>
|
||||
<nav class="single-post-nav">
|
||||
<div><?php previous_post_link('%link', '← %title'); ?></div>
|
||||
<div><?php next_post_link('%link', '%title →'); ?></div>
|
||||
</nav>
|
||||
<?php endwhile; ?>
|
||||
</div>
|
||||
<?php
|
||||
get_footer();
|
||||
Reference in New Issue
Block a user