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

wpmidia lab wpmidia at gmail.com
Wed Jul 27 14:32:47 UTC 2011


Leozinho!

wp_reset_query() was positioned at the and of all ... after plugin called
...

I will try your sugestion of $query_string  ....

Kisses! and thank you.

Drika

2011/7/27 Leo Baiano <ljunior2005 at gmail.com>

> Drikinha of my heart, you are using array_merge to preserve the query
> pattern and add some parameters, right? Have you tried using $query_string,
> as shown in the codex, rather than merge? Type:
>
> global $ query_string;
> query_posts ($ query_string. "posts_per_page & = 5 & page = '. $ paged);
>
> Reference: #
> http://codex.wordpress.org/Function_Reference/query_postsUsage_Note
>
> You could paste the code portion where the plugin is called? Sometimes the
> position of wp_reset_query () called for plugin influence on the paging and
> last.
>
> 2011/7/26 wpmidia lab <wpmidia at gmail.com>
>
> > 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
> > _______________________________________________
> > wp-hackers mailing list
> > wp-hackers at lists.automattic.com
> > http://lists.automattic.com/mailman/listinfo/wp-hackers
> >
>
>
>
> --
> Amplexos,
>
> Leo Baiano
> http://www.leobaiano.com
> http://www.blog.ljunior.com
> http://www.mcelebridades.com
> http://www.twitter.com/leobaiano
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>



-- 
*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