Good morning everyone! I have the following query:
<?php
$footerlocal = array(
'numberposts' => 2,
'post_type' => 'page',
'meta_query' => array(
'relation' => 'OR',
array( 'key' => 'zona', 'value' => '"norte"', 'compare' => 'LIKE'),
array( 'key' => 'zona', 'value' => '"sul"', 'compare' => 'LIKE' ),
array( 'key' => 'zona', 'value' => '"leste"', 'compare' => 'LIKE' ),
array( 'key' => 'zona', 'value' => '"oeste"', 'compare' => 'LIKE' ),
)
);
?>
Well, in meta_query has some error, because whenever I delete, the listing of posts appears ... if I use meta_query to filter, it does not return anything, but I saw some pages that contain compatible content to be listed what can be made to make these parameters, correct ?? thank you all!! Good morning !!!