How do I get a value of true or false from the database in Wordpress before the loop

Asked

Viewed 32 times

2

I have a custom field to display a slide that is a boolean field! I want to make a condition before the loop if the result is true to display the slide if it is false

I want this condition to be realized before the loop only it always returns false someone could help me?

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.