[wp-hackers] Pagination problem after updating to version 3.2.1

wpmidia lab wpmidia at gmail.com
Wed Jul 27 01:26:49 UTC 2011


Does anyone know if after upgrading to WordPress version 3.2.1 pagination
has stopped working properly?

I am facing this problem at the moment. I've tried everything already
searched the internet and found a link where a person claiming the same
problem.

The problem occurs in file category.php. Apparently the layout is perfect,
but when accessing the page 3,  I get a 404 page.

*A piece of Code:*

<?php
get_header();

global $wp_query;

$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
query_posts(
array_merge( array('posts_per_page' => 5, 'paged' => $paged),
$wp_query->query
)
);
?>

I'm using WP Pagenavi plugin for paging ....

Could someone help me?

Thanks in advance!

-- 
*Míriam de Paula *
*(aka Drika)*

wp*midia*
*desenvolvimento web*
http://wpmidia.com.br
twitter: @wpmidia
facebook: http://www.facebook.com/paginadamiriamdepaula


More information about the wp-hackers mailing list