Custom query pagination sort order with jquery.
-
Trying to create a custom query that uses jquery to update
pagination/sort order. Please help me a little. Im just a little confused at this point on how to do it with wordpress.I need pagination that updates with jquery/ajax (so the page dosnt reload)
And the same for sort order drop down boxes.
<div id="offers" class="tabs-container" style="float:left;"> <ul class="dsblisting"> <?php query_posts($query_string . '&cat=8'); ?> <?php if ( have_posts() ) while ( have_posts() ) : the_post(); ?> <li class="clearfix offer"> <a href="goOffer?1745732" target="_blank" class="item" onclick="piwikTracker.trackGoal(1); return true;"> <div class="image-container"> <?php $mykey_values = get_post_custom_values('image'); foreach ( $mykey_values as $key => $image )?> <img src="<?php echo $image ?>"> </div> <div class="content"> <h6><?php $mykey_values = get_post_custom_values('title'); foreach ( $mykey_values as $key => $title )?> <?php echo $title ?></h6> <p> <?php $mykey_values = get_post_custom_values('description'); foreach ( $mykey_values as $key => $description )?> <?php echo $description ?></p> </div> </a> </li> <?php endwhile; // end of the loop. ?> </ul> </div>
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Custom query pagination sort order with jquery.’ is closed to new replies.