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; ?>

Leave a Reply

Your email address will not be published. Required fields are marked *