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 query_posts() with page_type set as 'page'. Is there any way I can make certain pages appear higher and thus, make them sticky?

share|improve this question

It doesn't appear that there is any obvious way to enable "sticky post" support for Pages, e.g. via add_post_type_support().

However, Pages support both hierarchy and menu order. I would recommend using menu order to output Pages in your preferred order.

share|improve this answer
    
Unfortunately, until these days (4 yrs after this question) sticky post option is still not available for other post type than post. The option is hard coded in the admin. – Gustavo Straube Jun 15 at 13:43

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.