I am trying to hide posts in a loop which has NO custom field value present, this is what I am doing, but it doesn't show any post at all..
Asked
Active
Viewed 90 times
1 Answers
0
Now you look for custom field show_logged which IS NOT like yes, try
'meta_value' => 'NO'

Michal S
- 1,104
- 17
- 26