title: pagination working but not displaying correctly
body: <p>My pagination is working great on my website, www.scottiescotsman.com
  But for some apparent reason it is not working correctly on this page ..</p>
  
  <pre><code>&lt;?php get_header(); ?&gt;
  &lt;div class="col-md-12"&gt;
  &lt;?php bd_pagination(); ?&gt;
  &lt;/div&gt;
  &lt;?php
  $args = array(
  'post_type'         =&gt; 'movies',
  'orderby'           =&gt; 'name',
  'order'             =&gt; 'ASC',
  'tax_query'         =&gt; array(
      array(
      'taxonomy'      =&gt; 'genre',
      'field'         =&gt; 'slug',
      'terms'         =&gt; 'drama'
      )
  )
  );
  $drama = new WP_Query( $args );
  if ( $drama-&gt;have_posts() ) : while ( $drama-&gt;have_posts() ) : $drama-&gt;the_post();
  $sto = get_post_meta( get_the_ID(), "storyline", true ); ?&gt;
  &lt;div class="row" style="color: #ddd;"&gt;
      &lt;div class="col-md-8 col-md-offset-2"&gt;
          &lt;a href="&lt;?php the_permalink(); ?&gt;"&gt;&lt;h3&gt;&lt;?php echo the_title(); ?&gt;&lt;/h3&gt;&lt;/a&gt;&lt;p&gt;&lt;b style="color: #fff"&gt;Storyline&amp;nbsp;:&lt;/b&gt;&amp;nbsp;&lt;?php echo $sto; ?&gt;&lt;/p&gt;
      &lt;/div&gt;
  &lt;/div&gt;  
  &lt;?php wp_reset_postdata(); ?&gt;
  &lt;?php endwhile; ?&gt;
  &lt;?php else : echo '&lt;p&gt;NO CONTENT FOUND&lt;/p&gt;'; ?&gt;
  &lt;?php endif; ?&gt; 
  &lt;div class="col-md-12"&gt;
  &lt;?php bd_pagination(); ?&gt;
  &lt;/div&gt;
  &lt;?php get_template_part( 'second-footer' ); ?&gt;
  &lt;?php get_footer(); ?&gt;
  </code></pre>
  
  <p>hope someone can help with this problem</p>
  
  <p>Steven</p>