Skip to content

Instantly share code, notes, and snippets.

@fidlerryan
Created August 12, 2019 15:54
Show Gist options
  • Save fidlerryan/310919ae186b6784682b2c287d143615 to your computer and use it in GitHub Desktop.
Save fidlerryan/310919ae186b6784682b2c287d143615 to your computer and use it in GitHub Desktop.
Repeater template
<article>
<figure>
<?php if ( has_post_thumbnail() ) { the_post_thumbnail('alm-thumbnail'); }?>
<figcaption>
<h2 class="entry-title">
<a href="<?php the_permalink(); ?>" title="<?php the_title(); ?>"><?php the_title(); ?></a>
</h2>
<p class="post-meta">
<span class="published"><?php the_time("F d, Y"); ?></span>
</p>
<div class="post-content">
<?php the_excerpt(); ?>
</div>
</figcaption>
</figure>
</article>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment