Hey all i'm running a query loop in a custom page.php
using a custom post type. I would for it to paginated so i could have a specific amount of post per page. I was wondering if someone could help me out. I have added my code below:
<?php query_posts( array(
'post_type' => array( 'POSTTYPE' ),
'showposts' => -1 )
); ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="">
<a href="<?php the_permalink();?>"><?php the_title(); ?></a>
<?php the_post_thumbnail( 'thumbnail' , array('class' => 'aligncenter project_post_thumbnail') ); ?>
<a href="<?php the_permalink();?>">View </a>
</div>
<?php endwhile; ?>
Thanks!