1
I have the following appointment :
<?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 there is some error, because whenever I delete, the post listing appears...if I use meta_query to filter, it does not return anything, but I saw some pages containing content compatible to be listed what can be done to make these parameters correct?? thank you all!! good morning!!!
Welcome to Stackoverflow in English. I edited your question to remove the greetings as we usually keep the text as clean as possible to focus on your scheduling question. If you are interested in visiting a part of the site that is not aimed to ask questions can know the [chat]. If you have questions about the operation, rules and procedures of the site visit the [meta] :)
– Sorack