title: Query page in wordpress by slug/ID
body: <p>I want to show my page content using id or slug. I managed to do this in some other WP theme but for some reason its not working this time...</p>
  
  <p>I want to show title, excerpt and featured image</p>
  
  <p>This is my code:</p>
  
  <pre><code>&lt;h1 class="text-center light-title"&gt;&lt;?php echo the_title() ?&gt;&lt;/h1&gt;
                              &lt;span class="light-text"&gt;&lt;?php the_excerpt(); ?&gt;&lt;/span&gt;
                              &lt;?php 
                                  if ( has_post_thumbnail() ) { // check if the post has a Post Thumbnail assigned to it.
                                      the_post_thumbnail( 'full', array( 'class' =&gt; 'center-block img-responsive')); // show featured image
                                  } 
                              ?&gt;
                                  &lt;?php 
                                      query_posts("page_id=222");
                                      while ( have_posts() ) : the_post()
                                  ?&gt;
                              &lt;?php //the_content() ?&gt;
                                  &lt;?php
                                      endwhile; 
                                      wp_reset_query();
                              ?&gt; 
  </code></pre>