summaryrefslogtreecommitdiffhomepage
path: root/includes/section-archive.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/section-archive.php')
-rw-r--r--includes/section-archive.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/includes/section-archive.php b/includes/section-archive.php
new file mode 100644
index 0000000..c41a57d
--- /dev/null
+++ b/includes/section-archive.php
@@ -0,0 +1,12 @@
+<?php if(have_posts()): while(have_posts()): the_post(); ?>
+ <a href="<?php the_permalink();?>" class="pico-delinkify secondary">
+ <article id="post-<?php the_ID(); ?>" <?php post_class(); ?>>
+ <h3 class="entry-title"><?php the_title(); ?></h3>
+ <div class="entry-content">
+ <?php the_excerpt(); ?>
+ </div>
+ </article>
+ </a>
+<?php endwhile; else: ?>
+ <p><?php esc_html_e('Sorry, no posts matched your criteria.'); ?></p>
+<?php endif; ?> \ No newline at end of file