How to make “sticky” pages (and query by them)

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?

Related posts

Leave a Reply

2 comments

  1. 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.

  2. Convert Page to Post type.

    Warning: May not preserve Custom Fields and Revision History, depending on which WP Converter plugin you use. To be careful, copy manually or with a WP Clone plugin the page before conversion, and Export your database for if you need to go back.