title: WP Rig - How can I filter posts by category
body: <p>In the WP Rig system, I've created a custom content template in order to have some pages display posts from a specific category. I've done this many times successfully in the past, but the coding that I've used is not working in the WP Rig system. Here is the coding that I've used:</p>
  <pre><code>&lt;?php $the_query = new WP_Query( 'posts_per_page=12', '&amp;category_name=reviews'); ?&gt; &lt;?php while ($the_query -&gt; have_posts()) : $the_query -&gt; the_post(); ?&gt; &lt;a href=&quot;&lt;?php the_permalink() ?&gt;&quot;&gt;&lt;?php the_post_thumbnail();?&gt;&lt;/a&gt; &lt;h3 class=&quot;home-post-title&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/h3&gt; &lt;p&gt;&lt;?php the_excerpt(); ?&gt;&lt;/p&gt;
  </code></pre>
  <p>This creates errors in the WP Rig system. Here is the code that works in WP Rig:</p>
  <pre><code>&lt;article id=&quot;post-&lt;?php the_ID(); ?&gt;&quot; &lt;?php post_class( 'entry' ); ?&gt;&gt; &lt;?php get_template_part( 'template-parts/content/entry_header', get_post_type() ); if ( is_search() ) { get_template_part( 'template-parts/content/entry_summary', get_post_type() ); } else { get_template_part( 'template-parts/content/entry_content', get_post_type() ); } get_template_part( 'template-parts/content/entry_footer', get_post_type() ); ?&gt; &lt;/article&gt;&lt;!-- #post-&lt;?php the_ID(); ?&gt; --&gt; 
  </code></pre>
  <p>I just need to somehow filter this by category and limit the posts to 12.</p>