Update
<?php
function movies_posts_per_page( $query ) {
// exit out if it's the admin or it isn't the main query
if ( is_admin() || ! $query->is_main_query() )
return;
// so its not admin, and its the main query, is it the movies post archive?
if ( is_post_type_archive( 'movies' ) ) {
// it is!! Set the posts_per_page to 6
$query->set( 'posts_per_page', 6 );
return;
}
}
add_action( 'pre_get_posts', 'movies_posts_per_page', 1 );
if (have_posts()) : while (have_posts()) : the_post();
$custom = get_post_custom($post->ID);
$movie_info = $custom["movie_info"][0];
?>
<< LOOP GOES HERE >>
<?php endwhile; ?>
<?php my_paginate_links(); ?>
<?php endif; ?>