SHARE
TWEET

Untitled

a guest Jun 19th, 2019 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. case 'winfirst':
  2.         $wp_query_args['meta_query'] = array(
  3.                  'relation' => 'OR',
  4.                  'query_one' => array(
  5.                  'key' => 'wedstrijd',
  6.                  'compare' => '=',
  7.                  'value' => '1'
  8.                                              ),
  9.                  'query_two' => array(
  10.                  'key' => 'wedstrijd',
  11.                  'compare' => '=',
  12.                  'value' => '',
  13.     ),
  14. );    
  15. $wp_query_args['orderby'] = array( 'query_one' => 'ASC', 'query_two' => 'DESC');
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top