Custom post type Archive duplicates posts if Sorted (by title for example)
-
Hi,
I’ve created a new custom post type archive page for my “People” (archive-people.php) and worked fine, till I’ve decided to sort the list in a particular way.
I’ve included
$posts = query_posts($query_string . '&orderby=title&order=asc'); ?>
before
if (have_posts()) :
….Doing this i can see the first entries of each page duplicated
Am I doing something wrong or there is a bug with the CPT archive page ?
Thanks
Wiki
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Custom post type Archive duplicates posts if Sorted (by title for example)’ is closed to new replies.