Templates Override

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.

Within the plugin folder, there is a ‘templates’ directory where frontend views are stored. This includes, for example, the company listings dashboard and company listings info file templates. These templates get loaded by Company Listings by WP Job Manager when it needs to display content.

Overriding templates via a theme

Template files can be overridden via your theme should you wish to customize them. To override a template, move it to yourtheme/job_manager/, keeping the path within ‘templates’ intact.

 

 

 

 

 

 

 

For example, if I wanted to override content-single-job_listig-company.php I would copy it to mytheme/job_manager/content-single-job_listig-company.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.