Within the plugin folder there is a ‘templates’ directory where frontend views are stored. This includes, for example, the job form and form fields. These templates get loaded by WP Job Manager when it needs to display content.
↑ Back to Top Overriding templates via a theme
Template files can be overridden via your theme should you wish to customise them. To override a template, move it to
yourtheme/job_manager/, keeping the path within ‘templates’ intact.
For example, if I wanted to override
job-submitted.php I would copy it to
mytheme/job_manager/job-submitted.php and edit my theme’s version.
Please note, if these files are updated in the core plugin, you may need to update your custom version in the future to maintain compatibility. Therefore it is advised to only override the template files you need to customise.
↑ Back to Top Overriding templates through code
Plugin developers can also override templates by filtering the ‘job_manager_locate_template’ filter.
return apply_filters( 'job_manager_locate_template', $template, $template_name, $template_path );
Returning your own template path will override all others.