Support » Plugin: WP-Paginate » WP-Paginate – Template file – Alwayes return to the first page

Viewing 1 replies (of 1 total)
  • I’m writing to show my code, wich was moderated due to its size.
    So, the code is:

    <?php query_posts('category_name=category-name'); ?>
        <?php if (have_posts()) : ?>
                	<?php while (have_posts()) : the_post(); ?>
                                <h3><?php the_title(); ?></h3>
    		<?php endwhile; ?>
    		<?php if(function_exists('wp_paginate')) {
                    } ?>
      <?php endif; ?>

    My problem is that, the plugin creates the following url:
    Once it happens, I’m redirected to the first page every time.

    But what I really needed is that the plugin creates a url like this:

    Where, my CATEGORY-NAME is the name of the category I’m calling with the query_post tag, at the beginning of my code.

    I need it to create a friendly SEO url that has /TEMPLATE-PAGE immediately after the If anyone knows an alternative to achieve it instead of creating a template page wich calls a loop of results, similar to the archive template but with a specific category, please help me!

Viewing 1 replies (of 1 total)
  • The topic ‘WP-Paginate – Template file – Alwayes return to the first page’ is closed to new replies.