diff options
| author | tradam <[email protected]> | 2025-11-18 23:37:40 +0000 |
|---|---|---|
| committer | tradam <[email protected]> | 2025-11-18 23:37:40 +0000 |
| commit | 072f012398e448682f6d1cb0d981bdbb5e46263c (patch) | |
| tree | 388689a338820c60ad93ff0c61fcaba258773943 /includes/section-archive.php | |
| parent | 5ec6e44935e7c979fd718d6aa2c7a5308da0ee54 (diff) | |
| download | malcz-wordpress-theme-dev.tar.gz malcz-wordpress-theme-dev.zip | |
progressdev
Diffstat (limited to 'includes/section-archive.php')
| -rw-r--r-- | includes/section-archive.php | 12 |
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 |
