title: Shortcode not working on proper place in wordpress
body: <p>I have written a function and add the shortcode but when I try to use that shortcode in the center of worpdress page editor then they automatically goes top of the page and not work on right place. here is my code in function.php</p>
  
  <pre><code>function get_review() {  ?&gt;
      &lt;div style="clear:both;"&gt;&lt;/div&gt;
      &lt;div id="banner-fade"&gt;
          &lt;ul class="bjqs"&gt;
              &lt;?php query_posts('cat=5&amp;showposts=5&amp;order=DESC'); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?&gt;
                  &lt;li&gt;
                      &lt;div class="Call-to-action"&gt;
                          &lt;div class="inside clearfix"&gt;
                              &lt;h4&gt;What our clients say...&lt;/h4&gt;
                              &lt;h5 style="width: 645px; text-align: justify;"&gt;
                                  &lt;?php   the_content(); ?&gt;
                              &lt;/h5&gt;
                              &lt;a href="http://www.360creditconsulting.com/products-page/" class="call_to_action  call_to_action_contact"&gt;
                                  &lt;span&gt;Get Started Now&lt;/span&gt;
                              &lt;/a&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/li&gt;
              &lt;?php endwhile; endif; wp_reset_query(); ?&gt;
          &lt;/ul&gt;
      &lt;/div&gt; 
      &lt;?php 
  }
  add_shortcode('get_review', 'get_review');
  </code></pre>
  
  <p>and I using the in page like :
  Some content...
  [get_review]</p>
  
  <p>after that they auomatically shown like that
  o/p of shortcode
  Some content...</p>
  
  <p>here is the url on which I am checking
  <a href="http://www.360creditconsulting.com/test-page/" rel="nofollow">http://www.360creditconsulting.com/test-page/</a></p>
  
  <p>Any help will be appreciate. I am totally stuck.</p>
  
  <p>Thanks in advance.</p>