Support » Plugins » Resume Submissions & Job Postings – Archiving

  • Resolved cjc1867

    (@cjc1867)


    Hi
    I would like to show current jobs on a page called Job Vacancies so I’m using the shortcode [jobPostings] as per instructions. I would also like to add 2 recent jobs just to show that they do post jobs and hopefully get people back to their website.

    To show the archived ones I am using [jobPostings archive=”Show” limit=”2″] but it shows all the jobs including the current ones…is this right?

    In my mind, a current job is not archived until I tick the checkbox and it gets removed from the current jobs list.

    How can I change the code so that only the archived jobs are shown?

    http://wordpress.org/extend/plugins/resume-submissions-job-postings/

Viewing 1 replies (of 1 total)
  • Panic over I changed the condition from ‘<=’ to ‘==’ at the top of the file display-jobs.php and it has done what I wanted as it makes more sense.

    I think it’s also nice to show a comment when there are no current vacancies instead of having a blank page so I added a conditional statement as well just before the Foreach statement.

    Colin

Viewing 1 replies (of 1 total)
  • The topic ‘Resume Submissions & Job Postings – Archiving’ is closed to new replies.