Display Content if Meta Checkbox is checked?
First make the custom post query with the WP_Query, and then we get the metadata by get_post_meta. Checkboxses are saved as boolean, that means either true or false. So make a check in the loop if checked or not (1=true, 0=false). <?php get_header(); ?> <?php // The Query $the_query = new WP_Query( array( ‘post_type’ => … Read more