' WP-Paginate ' and Custom Templates …. Help!
I had created a Custom Gallery Template, I want to only have 20 images per page. So what I wanted to do, is use the WP-Paginate.
So my question is, can I use it within a Custom Template, and if so, how?
I am open to other suggestions if I can get the same result.
Here is the code to my Custom Template:
<?php /* Template Name: Gallery Template */ ?> <?php get_header(); ?> <?php if (have_posts()) : while (have_posts()) : the_post(); ?> <article class="post" id="post-<?php the_ID(); ?>"> <h2><?php the_title(); ?></h2> </article> <?php endwhile; endif; ?> <?php get_footer(); ?>
- The topic ‘' WP-Paginate ' and Custom Templates …. Help!’ is closed to new replies.