Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.
By default, WP Job Manager is all self-contained within shortcodes but since it uses custom post types, you can enable post archives and theme it fully. Some themes (such as Jobify) already do this.
Once enabled, you can make use of the WordPress Template Hierarchy and create template files for archives of jobs.
Note: The only template file WP Job Manager does use by default is single-job_listing.php for the single job listings.
↑ Back to Top Adding Theme Support
Inside your theme, include the following code:
After doing this, go to Settings > Permalinks and save. Custom Post Type archives will then be enabled.
You’ll find the job listings archive (by default) at yoursite.com/jobs
↑ Back to Top Template Files
The WordPress Template Hierarchy will be used. Key templates you can theme include:
- archive-job_listing.php (http://codex.wordpress.org/Template_Hierarchy#Custom_Post_Type_Archive_display)
- taxonomy-job_listing_category.php (http://codex.wordpress.org/Template_Hierarchy#Custom_Taxonomies_display)
- taxonomy-job_listing_type.php (http://codex.wordpress.org/Template_Hierarchy#Custom_Taxonomies_display)