[Plugin: WP-Paginate] With query-post doesn’t works :(
-
Hi!…
I’m working on a site with the category “blog” for posts that the editor can upload.The problem is that the wp-paginate only links on the first page… doesn’t works for the any other…
Anybody knows a solution for this?.
This is part of the code i’m using:
<?php query_posts('posts_per_page=4&category_name=blog'); if ( have_posts() ) : while ( have_posts() ) : the_post(); ?> <h2><a href="<?php echo get_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h2> <?php the_content('Leer el resto del artículo'); ?> <?php endwhile; else: ?> <?php endif; ?> <?php if(function_exists('wp_paginate')) { wp_paginate(); } ?> <?php wp_reset_query(); ?>
Thanx!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: WP-Paginate] With query-post doesn’t works :(’ is closed to new replies.