Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $args = array(
- 'post_type' => 'post' ,
- 'meta_key' => $meta_value,
- 'orderby' => $sort . ' date',
- 'order' => $order_sort,
- 'posts_per_page' => 10,
- 'cat' => $category,
- 'paged' => $paged,
- 'meta_query' => array(
- 'relation' => 'OR',
- array(
- 'key' => 'checkboxes',
- 'value' => $face,
- 'compare' => 'LIKE'
- ),
- array(
- 'key' => 'checkboxes',
- 'value' => $twitter,
- 'compare' => 'LIKE'
- ),
- array(
- 'key' => 'checkboxes',
- 'value' => $telegram,
- 'compare' => 'LIKE'
- ),
- array(
- 'key' => 'checkboxes',
- 'value' => $reddit,
- 'compare' => 'LIKE'
- ),
- array(
- 'key' => 'checkboxes',
- 'value' => $email,
- 'compare' => 'LIKE'
- ),
- array(
- 'key' => 'checkboxes',
- 'value' => $phone,
- 'compare' => 'LIKE'
- ),
- )
- );
Add Comment
Please, Sign In to add comment