WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a site where I'm posting some of the post at Features with a meta key name "Listing Type" and meta value "Featured".

Now the problem is when I use:

query_posts($query_string . '&meta_key=listing_type&orderby=Featured');

...only the Featured post showing.

All I just want to show is the featured posts and then the rest of the post by the date order with the pagination too..

share|improve this question
sorry, dont understand... where in wp_query did you see a feautred orderby option? codex.wordpress.org/Class_Reference/… – Sagive SEO Oct 6 '13 at 9:52
Never Ever use query_posts(), use WP_Query() instead. Know why – Mayeenul Islam Oct 6 '13 at 13:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.