Support

Account

Home Forums General Issues Sorting by Custom Fields, with Priority Reply To: Sorting by Custom Fields, with Priority

  • One possible route is to query for the Department Head first, and then do a second query to get the remaining posts excluding the Department Head post id. It would be using the exclude parameter from get_postshttp://codex.wordpress.org/Template_Tags/get_posts