hi... all...
i'm doing a wordpress jobsite... in the home page i want to load all the jobs list by using infinite scrolling with load more button... i found an example here http://www.authenticjobs.com/ and i dont know how to do it.. can anyone help me pls...
here is my index.php... and i want to do it here
<?php
// Empty search fixes
if ( isset($_GET['resume_search']) && $_GET['resume_search'] ) :
if (isset($_GET['s']) && isset($_GET['location']) && !empty($_GET['location'])) : get_template_part('search-resume'); return; endif;
wp_safe_redirect(get_post_type_archive_link('resume'));
exit;
endif;
if (isset($_GET['s']) && isset($_GET['location']) && !empty($_GET['location'])) : get_template_part('search'); return; endif;
?>
<?php get_header('search'); ?>
<?php do_action('jobs_will_display'); ?>
<?php
if ( get_query_var('paged') )
$paged = get_query_var('paged');
elseif ( get_query_var('page') )
$paged = get_query_var('page');
else
$paged = 1;
?>
<?php do_action('before_front_page_jobs'); ?>
<div class="section">
<?php
$args = jr_filter_form();
query_posts($args);
// call the main loop-job.php file
get_template_part( 'loop', 'job' );
?>
<?php jr_paging(); ?>
<?php wp_reset_query(); ?>
<div class="clear"></div>
</div><!-- end section -->
<?php do_action('after_front_page_jobs'); ?>
<div class="clear"></div>
</div><!-- end main content -->
<?php if (get_option('jr_show_sidebar')!=='no') get_sidebar(); ?>
tnx in advnc... sorry with my english