Skip to content

Instantly share code, notes, and snippets.

@jackfearing
Created January 31, 2023 00:19
Show Gist options
  • Save jackfearing/c5e923b06e2581706302ba974c627991 to your computer and use it in GitHub Desktop.
Save jackfearing/c5e923b06e2581706302ba974c627991 to your computer and use it in GitHub Desktop.
<?php if (have_posts()) : ?>
<?php while (have_posts()) : the_post(); ?>
<div class="post" id="post-<?php the_ID(); ?>">
<h2><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title_attribute(); ?>"><?php the_title(); ?></a></h2>
<p><?php the_time('F jS, Y') ?> <!-- by <?php the_author() ?> --></p>
<?php the_content('Read the rest of this entry &raquo;'); ?>
<p><?php the_tags('Tags: ', ', ', '<br />'); ?> Posted in <?php the_category(', ') ?> | <?php edit_post_link('Edit', '', ' | '); ?> <?php comments_popup_link('No Comments &#187;', '1 Comment &#187;', '% Comments &#187;'); ?></p>
</div>
<?php endwhile; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment