[wp-hackers] Taxonomy - Custom Post Type - Pagination?

Philip M. Hofer (Frumph) philip at frumph.net
Mon Sep 20 03:13:47 UTC 2010


".$page."  (or)  {$page}

its not translating into the string otherwise.

----- Original Message ----- 
From: "Joaquin Rodriguez Montero" <yojoaquin at gmail.com>
To: <wp-hackers at lists.automattic.com>
Sent: Sunday, September 19, 2010 7:55 PM
Subject: [wp-hackers] Taxonomy - Custom Post Type - Pagination?


> Hi guys,
>
> I'm sure this is really simple but I can't seem to find out what's going 
> on.
>
> I'm trying to do the following on my taxonomy-term.php
>
> $page = (get_query_var('paged')) ? get_query_var('paged') : 1;
> query_posts("
> post_type=postype&
> paged=$page&
> posts_per_page=16&
> orderby=title&
> order=ASC&
> term=$termslug");
> $i = 1; while (have_posts()) : the_post();
>
> Result: list of posts ok, pagination wrong. It's getting the pagination as
> if it was querying every post. Why I wanna do it this way? Cause I want to
> get the posts ordered by title.
>
> Any clue that could help me?
>
> Thanks!
>
> J
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
> 




More information about the wp-hackers mailing list