Skip to content

Instantly share code, notes, and snippets.

@ShahinAhmed7
Created August 18, 2017 18:40
Show Gist options
  • Save ShahinAhmed7/cc5eff255a5720c7c991922c674b69b8 to your computer and use it in GitHub Desktop.
Save ShahinAhmed7/cc5eff255a5720c7c991922c674b69b8 to your computer and use it in GitHub Desktop.
<?php
if ( have_posts() ) {
while ( have_posts() ) {
the_post(); ?>
<article class="article">
<h1><?php the_title(); ?></h1>
<p><?php the_content(); ?></p>
</article>
<?php }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment