Action hook for the main content on the single job page.
add_action( 'job_bm_single_job_main', 'job_bm_single_job_main_26072019', 15 ); if ( ! function_exists( 'job_bm_single_job_main_26072019' ) ) { function job_bm_single_job_main_26072019(){ ?> <pre>Content main single job</pre> <?php } }
Display meta field value
add_action( 'job_bm_single_job_main', 'job_bm_single_job_main_26072019', 15 ); if ( ! function_exists( 'job_bm_single_job_main_26072019' ) ) { function job_bm_single_job_main_26072019(){ $post_id = get_the_ID(); $meta_value = get_post_meta($post_id, 'custom_input_name', true) ?> <div class=""> Custom value: <?php echo $meta_value; ?> </div> <?php } }
Remove sections
remove_action( 'job_bm_single_job_main', 'job_bm_template_single_job_description', 20 ); remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_company', 25 ); remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_job_info', 30 ); remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_job_apply', 30 ); remove_action( 'job_bm_single_job_main', 'job_bm_template_single_job_tags', 90 ); remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_job_schema', 30 ); remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_css', 90 ); remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_preview', 5 ); remove_action( 'job_bm_single_job_main', 'job_bm_single_job_main_meta_start', 10 );