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

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 false escode the slide

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

    
asked by anonymous 28.07.2015 / 20:43

0 answers