title: How to include pagination in a Wordpress Custom Post Type Query
body: <p>I have the code below:</p>
  
  <pre><code>&lt;?php $the_query = new WP_Query( 'posts_per_page=30&amp;post_type=phcl' ); ?&gt;
  
  &lt;?php while ($the_query -&gt; have_posts()) : $the_query -&gt; the_post(); ?&gt;
  
  &lt;div class="col-xs-12 file"&gt;
      &lt;a href="&lt;?php echo $file; ?&gt;" class="file-title" target="_blank"&gt;
          &lt;i class="fa fa-angle-right" aria-hidden="true"&gt;&lt;/i&gt; 
          &lt;?php echo get_the_title(); ?&gt;
      &lt;/a&gt;
      &lt;div class="file-description"&gt;
          &lt;?php the_content(); ?&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;?php endwhile; wp_reset_postdata(); ?&gt;
  </code></pre>
  
  <p>I am trying to use <code>paginate_links</code> Wordpress function but no matter where I put it, I can't make it work. Can someone help me with this?</p>