Ajax Pagination (Twitter Style) Doesn't work with mulitple meta_key
-
Doesn’t work with mulitple meta_key in ‘meta_query’
<?php $date = date('Y-m-d H:i'); if(function_exists('genarate_ajax_pagination')) genarate_ajax_pagination('Load More', 'blue', 'event', array('post_type' =>'event', 'showposts' => 5, 'meta_query' => array(array('key' => 'event_date', 'value' => $date, 'compare' => '>'), array('key' => 'event_date', 'value' => $date, 'compare' => '<=')), 'orderby'=> 'meta_value', 'order' => 'DESC')); ?>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
- The topic ‘Ajax Pagination (Twitter Style) Doesn't work with mulitple meta_key’ is closed to new replies.