Skip to content

Instantly share code, notes, and snippets.

@Tsunamijaan
Created January 5, 2019 09:12
Show Gist options
  • Select an option

  • Save Tsunamijaan/7c28b3f0d83bbd766ccfe520a1335253 to your computer and use it in GitHub Desktop.

Select an option

Save Tsunamijaan/7c28b3f0d83bbd766ccfe520a1335253 to your computer and use it in GitHub Desktop.
Dynamic page content – page.php
<?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
<h2><?php the_title(); ?></h2>
<?php the_content(); ?>
<?php endwhile; endif; ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment