[Resolved] Sort posts alphabetically and limit posts in TwentyTwelve archives only
I’ve spending most of my day trying to sort this out:
I’m using a twentytwelve child theme. I’ve added a Custom Post Type ‘People’ to which I’ve added a couple of posts.
I want to show these posts on the archive page http://www.domain.com/people/ in alphabetical order and I want to limit the number of posts on the page to 5.
Now I DON’T want this to affect the way other post types are shown, only those posts of the custom post type ‘People’.
I’ve been trying all kinds of tweaks but I can’t get it to work properly. Some tweaks mess up the pagination, some don’t seem to work at all.
I have made a archive-people.php so I can make the changes in there.
What is the cleanest way to do this?
- The topic ‘[Resolved] Sort posts alphabetically and limit posts in TwentyTwelve archives only’ is closed to new replies.