title: How to call particular page content using page id where post_type="page"
body: <p>I am facing some problem in WP code. I want to show a particular page content through page id using WP function. I am using code given below. I want to fetch content having page id 37.</p>
  
  <pre><code>    &lt;?php
     global $post;
     $args = array('numberposts' =&gt; 1,'post_type' =&gt; 'page');
     $myposts = get_posts($args);
      foreach( $myposts as $post ) :  setup_postdata($post); ?&gt;
       &lt;?php  the_block('Right Part'); ?&gt; 
       &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>If I am using simple query to fetch the content of page id 37.Then my <code>&lt;?php  the_block('Right Part'); ?&gt;</code> function not work.</p>
  
  <p>Because this function only work when we use WP functionality.</p>