Hi Darci,
You can display any number of posts on job listing page by using following shortcode.
// Display 5 posts on job listing page
[jobpost posts="5"]
// Display all posts on job listing page
[jobpost posts="-1"]
Thank you. Let us know if you need any further assistance.
Regards,
PressTigers
Thanks for the response.
I’m asking about the default jobs page that doesn’t use shortcode. Is there a way to show all listings on that page without pagination?
Thanks,
Darci
Hi Darci,
Go to simple-job-board> templates> archive-jobpost.php and change the value of following parameter according to your requirement.
// Display 15 recent job posts
'posts_per_page' => '15',
// Display all job posts
'posts_per_page' => '-1',
Thanks & Regards,
PressTigers
I have attempted the below as per your directions to show all job posts, and it is still paginating.
$args = apply_filters(‘sjb_output_jobs_args’, array(
‘posts_per_page’ => ‘-1’,
‘post_type’ => ‘jobpost’,
‘jobpost_category’ => $a[‘category’],
‘jobpost_job_type’ => $a[‘type’],
‘jobpost_location’ => $a[‘location’],
‘paged’ => $paged,
));
I’ve also tried 50 as a test and that doesn’t do anything either. Is there something I’m doing wrong?
Thanks,
Darci
Hi Darci,
It seems that you are listing jobs using jobpost shortcode.
Please try to change the above parameter in simple-job-board> includes> class-simple-job-board-shortcodes.php
Thanks & Regards,
PressTigers