title: Display wp_post and wp_postmeta
body: <p>I'm trying to get the below 3 columns for all posts that are in my database  </p>
  
  <ol>
  <li>user_name</li>
  <li>post_title</li>
  <li>pods_field_blog_category</li>
  </ol>
  
  <p><em>user_name</em> and <em>post_title</em> is stored in <code>wp_posts</code> table <em>pods_field_blog_category</em> is stored in <code>wp_postmeta</code> table.</p>
  
  <p>below code displays, <em>user_id</em> and <em>post_title</em> , but I'm not sure how to get the meta_value and display it:</p>
  
  <pre><code>&lt;?php
  $posts = get_posts(array(
      'posts_per_page' =&gt; -1,
      'post_type' =&gt; 'custom_post'
          )
  );
  
  if ($posts):
      ?&gt;
      &lt;ul&gt;
          &lt;?php
          foreach ($posts as $post):
  
              setup_postdata($post);
              ?&gt;
              &lt;li&gt;
                  &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
                  //what should be the code to display the meta value pods_field_blog_category
              &lt;/li&gt;
          &lt;?php endforeach; ?&gt;
  
      &lt;/ul&gt;
  
      &lt;?php wp_reset_postdata(); ?&gt;
  
  &lt;?php endif; ?&gt;
  </code></pre>