I need a little help from any of the gurus out there. I have a custom query:
$todaysDate = date('m/d/Y H:i:s'); query_posts('category_name=events&meta_key=Date&meta_compare=>=&meta_value=' . $todaysDate . '&orderby=meta_value&order=ASC'); if (have_posts()) : while (have_posts()) : the_post(); ?>
but I need to add the the paged code to it:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
and everything I have tried doesn’t seem to work. Anyone have any ideas? Any help is greatly appreciated
- The topic ‘Paged Query’ is closed to new replies.