add mored evevnts
This commit is contained in:
@@ -7,14 +7,14 @@ $posts = get_posts( array(
|
||||
'order' => 'DESC',
|
||||
'include' => array(),
|
||||
'exclude' => array(),
|
||||
'meta_key' => '',
|
||||
'meta_value' =>'',
|
||||
'post_type' => 'post',
|
||||
'post__not_in' => array($post_id),
|
||||
'meta_query' => array(
|
||||
array(
|
||||
'key' => '_thumbnail_id',
|
||||
//'compare' => 'EXISTS'
|
||||
'key' => 'startevent',
|
||||
'orderby' => 'meta_value',
|
||||
'order' => 'DESC'
|
||||
|
||||
)
|
||||
),
|
||||
'suppress_filters' => true, // подавление работы фильтров изменения SQL запроса
|
||||
|
||||
Reference in New Issue
Block a user