Page template with different page and post content
the_content() (and many others) must be inside The Loop. For retrieving a post/page/custom-post-type data outside the Loop, take a look here: Get post content from outside the loop The working code, based on your example, would be: <div class=”middle-inner”> <div class=”center-inner”> <!– This is content –> <?php global $post; query_posts(“post_type=roomtype&orderby=name”); if ( have_posts() ) { … Read more