Support

Account

Home Forums General Issues Pre get Posts Show posts first if has acf value Reply To: Pre get Posts Show posts first if has acf value

  • In order to order posts by a true/false field the field must exist before any posts are created. If you create the field later, after posts have been created, then you must update every post because the posts that existed prior to the existence o a field will not have a value set in the db for that field. You cannot order posts by a value that does not exist and you will only get posts that have a value for the field set.