Templates and child-theme overrides
Reign WP Job Manager Addon overviewPremiumGet Reign WP Job Manager Addon →
The add-on ships two templates. A developer can replace either one from a child or parent theme without a filter: copy the file to {theme}/reign-wp-job-manager-addon/ keeping the same path, and edit the copy.
| Template | Printed by | Hook it runs on | Override path |
|---|---|---|---|
templates/job/poster.php |
Poster link | the theme action reign_job_section_company, which passes the job ID |
reign-wp-job-manager-addon/job/poster.php |
templates/job/related.php |
Related jobs | the section related (area main, priority 40) in the filter reign_job_layout_sections |
reign-wp-job-manager-addon/job/related.php |
Each template starts with a comment that says what it prints, which hook runs it and how to override it, and carries an @version. When the add-on’s version number is higher than the one in your copy, compare the two files.
For a full worked override, step by step, see Common changes with a few lines of code.
Variables
Section titled “Variables”poster.php prints “Posted by” and a link, and nothing when the toggle is off or the poster has no profile URL. The URL comes from bp_members_get_user_url, then bp_core_get_user_domain, then PeepSo. poster.php receives $args['url'] (the profile URL) and $args['name'] (the display name). related.php receives $args['jobs'], a WP_Query of the related jobs; it must call wp_reset_postdata() after its loop.
Hooks the add-on uses
Section titled “Hooks the add-on uses”The add-on fires no actions or filters of its own. It adds two filters to the Reign panel and licence code, and uses these theme and plugin hooks:
-
Reign panel:
alter_reign_admin_tabs(adds the WP Job Manager tab), the actionrender_theme_options_page_for_wpjm(draws it) andreign_licensed_products(registers the add-on for updates under Reign Settings > License). -
Reign layout switches:
reign_job_layout_enabledandreign_resume_layout_enabled; return false to turn the theme layer off. -
Reign:
reign_job_layout_sections,reign_job_section_company,reign_job_detail_fields,reign_resume_detail_fields, and the functionreign_wpjm_layout(). -
WP Job Manager and Resume Manager:
submit_job_form_fields,submit_job_form_fields_get_job_data,submit_resume_form_fields,submit_resume_form_fields_get_resume_data. -
WordPress:
body_class,wp_enqueue_scripts,admin_init,init,admin_notices, the WP-Cron eventreign_jb_upgrade, andcomments_clauses(repairs a comment query when WP Job Manager Applications and WooCommerce are both active).
Styling hooks
Section titled “Styling hooks”| Item | When |
|---|---|
Body class reign-jb-reading |
Reading layout on a job or resume page; loads layout.css |
Body class reign-jb-jobs-grid |
Grid job list; loads lists.css on the list pages |
Body class reign-jb-resumes-rows |
Rows resume list; loads lists.css on the list pages |
.reign-jb-related, .reign-jb-poster |
The Related jobs and poster markup; related.css loads only when a job has related jobs |
The settings screen styles and script load only on its own tab.

