How to display custom page title content and thumbnail in WordPress

<?php
              // Start the loop.
while ( have_posts() ) : the_post(); ?>

 <?php echo the_post_thumbnail('full'); ?>

 <h1> <?php echo the_title(); ?>  </h1>

 <p>  <?php echo the_content(); ?>  </p>


<?php endwhile ?>

Comments

Popular posts from this blog

remove span elements from Contact form 7 but keeping inside elements

Elance HTML5 Test Answers