title: Wordpress Pagination Not Working - Always Showing First Pages Content
body: <p>I am working on a website where I have a blog but I also have a custom post type to allow me to drop in some videos.</p>
  
  <p>I would like to use pagination so that if there are more then 9 videos displayed, then pagination occurs.</p>
  
  <p>The first part of this works.  The videos are indeed limited to 9 per page and the pagination correctly shows up at the bottom.</p>
  
  <p>However when I click on the link for the second page, even though the URL changes, the first pages videos are displayed.</p>
  
  <p>For my 'normal' blog posts, pagination is working exactly as intended.</p>
  
  <p>This is the current code that I am using for my custom post type:</p>
  
  <pre><code>&lt;?php if ( have_posts() ) : ?&gt;
      &lt;?php $paged = (get_query_var('paged')) ? get_query_var('paged') : 1; query_posts('post_type=videos&amp;posts_per_page=9&amp;paged=$paged'); ?&gt;
  
          &lt;?php /* Start the Loop */ ?&gt;
          &lt;?php while ( have_posts() ) : the_post(); ?&gt;
  </code></pre>
  
  <p>Any help would be greatly appreciated.</p>