title: Wordpress get multiple posts by id
body: <p>I need to get multiple posts in wordpress by ID.</p>
  
  <pre><code>get_posts('p=34,36');
  </code></pre>
  
  <p>I assumed that that might work, but it only gives the first post.</p>
  
  <p>I tried then to use an array:</p>
  
  <pre><code>$args = array( 'p' =&gt; array(34,36));
  </code></pre>
  
  <p>That delivered no results.</p>
  
  <p><code>get_posts('p=34+36');</code> NO and <code>get_posts('p=34&amp;p=36');</code> Last one only</p>
  
  <p>Any ideas?</p>