title: How to get content of a specific page?
body: <p>I want example to get the content of the page with the slug <code>sasd</code> that is private I only want it to appear in sidebar..</p>
  
  <p>I have tried this(page):</p>
  
  <pre><code>&lt;?php
  $the_slug = 'sasd';
  $args=array(
    'name' =&gt; $the_slug,
    'post_type' =&gt; 'page',
    'post_status' =&gt; 'private',
    'numberposts' =&gt; 1
  );
  $my_posts = get_posts($args);
  if( $my_posts ) {
  echo 'ID on the first post found '.$my_posts[0]-&gt;ID;
  }
  ?&gt;
  </code></pre>