title: Is it possible to have get_posts() or WP_Query not return the post content?
body: <p><code>get_posts()</code> and <code>WP_Query</code> are great for almost everything, but sometimes I want to query all my posts and only display very basic things about them.</p>
  
  <p>For example, if I'm making a page that displays a title and link to every single post on my blog, there's no reason for me to query the content of those posts. If I have thousands of posts, and the content for each of those posts is huge, then it would be immensely wasteful for me to store all of that content in a php variable just to get the titles and permalinks to those posts. But that's exactly what these two functions do!</p>
  
  <p>I would love to be able to do something like this:</p>
  
  <pre><code>$query = array(
    'numberposts' =&gt; -1,
    'exclude_fields' =&gt; 'post_content'
  );
  $all_posts = get_posts($query);
  </code></pre>
  
  <p>Is anyone aware of a way to do this without writing a custom query? </p>
  
  <p>(The downside of a custom query -- and it's a huge downside -- is that then you can't use all the great existing functionality of WordPress, e.g., all the loop functions)</p>