title: Wordpress to return post preview submitted
body: <p>I have a user content driven wordpress site. I need the user's post to preview its contents before the page/post redirects. So, once the form is submitted, instead of a "thank you for posting" message I need the form to first return a preview of the submission. This is just so the user can see what the contents would look like. </p>
  
  <p>I am relatively new to Wordpress and coding PHP. Please forgive me if I seem rather dumb. Here is the code I am battling with:</p>
  
  <pre><code>            &lt;div id="site-content-column" class="users-posts-section"&gt;&lt;?php
  
      if(isset($_GET['complete'])){ ?&gt;
  
                  &lt;div class="page-body"&gt;
                      &lt;div class="page-body"&gt;
                          &lt;?php get_post (); ?&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  
          &lt;?php 
      }else{
  
          post_thumbnail(); 
  
          if(have_posts()){ 
  
              while(have_posts()){ 
  
                  the_post(); ?&gt;
                  &lt;div class="page-body"&gt;
                      &lt;h1 class="page-title"&gt;&lt;?php the_title(); ?&gt;&lt;/h1&gt;
                      &lt;div class="page-text"&gt;
                          &lt;?php the_content(); ?&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;&lt;?php
              }
          } ?&gt;
  </code></pre>
  
  <p>Your assistance would be very much appreciated. </p>
  
  <p>Thank you,</p>