Try to wrap true
with quotes
<?php
$event =array(
'post_type' => 'Events',
'posts_per_page' => 1,
'meta_query' => array( array(
'key' => 'front_event',
'value' => 'true' ))
);?>
Try to wrap true
with quotes
<?php
$event =array(
'post_type' => 'Events',
'posts_per_page' => 1,
'meta_query' => array( array(
'key' => 'front_event',
'value' => 'true' ))
);?>