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?
Leave a Reply
You must be logged in to post a comment.
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?
You must be logged in to post a comment.
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.
Convert
Page
toPost
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.