Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

hi all iam using jobroller theme in wordpress,it shows latest 10 jobs list in the home page with normal paging... but i want to show all jobs list in the home page with a load more button which shows next 10 jobs list below when it is clicked.

here is my code.

// 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;
if (isset($_GET['s']) && isset($_GET['location']) && !empty($_GET['location'])) : get_template_part('search'); return; endif;


<div class="section">


        $args = jr_filter_form();
    // call the main loop-job.php file
        get_template_part( 'loop', 'job' );

ID ?>">-->
    <?php wp_reset_query(); ?>

    <div class="clear"></div>

</div><!-- end section -->

<?php do_action('after_front_page_jobs'); ?>

<div class="clear"></div>

pls help me to fix this... tnx in advnc

share|improve this question
Are you sure that you really want this on the server-side? If you need to the user to refresh the page anyway, why would pagination not work for you? –  Johannes Pille Apr 3 '13 at 8:58
You want to user AJAX for that, I think. –  Sunyatasattva Apr 3 '13 at 9:23
You could use the Infinite Scroll plugin. It allows for a manual trigger I think (or you might decide that isn't necessary after all) –  helgatheviking Apr 3 '13 at 10:17

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.