Support

Account

Home Forums General Issues Order by true/false field using WP_Query Reply To: Order by true/false field using WP_Query

  • Hi @istrasoft

    Great feedback. Yes. I will look into this and perhaps find a way to create a ‘default’ WP_Query value to solve the issue perfectly.

    I know you can hook into the SQL sort statement and write a CASE where you can define values that don’t exist, but I will need to trial this code before mentioning it.

    Cheers
    E