meta_key with boolean does not work
-
I have a meta key created using ACF which is stored as a boolean true/false.
If I try to filter these with display-posts, the true value works
[display-posts meta_key="featured" meta_value="1"]
displays only featured posts.However, the false value does not work as expected.
both
[display-posts meta_key="featured" meta_value="0"]
and
[display-posts meta_key="featured" meta_value=""]
display all posts, and not non-featured posts.
- The topic ‘meta_key with boolean does not work’ is closed to new replies.