Home Forums Front-end Issues Meta_compare with true/false field Reply To: Meta_compare with true/false field

  • I am in a similar situation. I have added a true/false checkbox to existing fields and it doesn’t recognize an unchecked value as 0. When I echo the value of a checked box I get 1 and an unchecked box returns nothing. I have tried the bulk update posts to try to get the database to recognize this new fields and record a 0 but it doesn’t seem to work.

    I have been working through this on another post
    but I have not had any success. I know the code makes sense but the results don’t display.

    I’d love to know what you did to resolve this issue.