Skip to content

Instantly share code, notes, and snippets.

@thierrypigot
Created December 19, 2022 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thierrypigot/e0c69645721cda1cfc53d9b4873c2460 to your computer and use it in GitHub Desktop.
Save thierrypigot/e0c69645721cda1cfc53d9b4873c2460 to your computer and use it in GitHub Desktop.
<?php
<?php if ( have_posts() ) : ?>
<?php while (have_posts() ) : the_post(); ?>
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<?php the_content(); ?>
<?php endwhile; ?>
<?php endif; ?>
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment