In the last two (Part 1, Part 2) articles related to Job Board we learned how to make custom job post type, custom fields and how to display all the jobs on a single page to make that page a job board. We also learned that when we clicked the job title on a job board it ended up with a blank page containing only title of the job. In this tutorial we will learn how to create an independent page for a job with job description, deadline and pay on it.
In order to achieve this we need to make a View template. For this hover your mouse cursor over Views and click New View Template.
Enter title as ‘Single Job Post‘. Now go to HTML mode, click View button and in the Job details section choose all the fields in the following order:
Job completion deadline
After that your editing screen should look like this:
In order to make the page look more formatted I’ve modified the body like this:
You can add formations according to your needs. Now click Save. Go to jobs and either edit an existing job or create a new job. Here you will notice a widget with the name Content Template. It will be set to ‘none‘.
Change it to ‘Single Job Post‘ and update the job post.
Now when you will click on the job post it will look like this:
In this way we can create an independent page for jobs posted on job board.