New answers tagged

2

I'm afraid you're doing it a little bit wrong... Here are the problems: post_count field contains the number of posts being displayed and not the offset. wp_count_posts returns the number of posts globally, not in current query (so it will not be true for queries that have some filters). echo $post_count; . '-' . $post_count; is not correct PHP code. So ...


0

Well, the answer was staring right at my tired face. After hours of hairpulling, I noticed I had used: 'orderby' => 'meta_key' I changed it to: 'orderby' => 'meta_value' fixed things right up... -_-'


Top 50 recent answers are included