gistfile1.php

// Change job_listing_meta_end to job_listing_meta_start to output at start
add_action( 'job_listing_meta_end', 'add_salary_to_job_listing' );

function add_salary_to_job_listing(){
    // Assuming the meta key is job_salary
    $field_value = get_job_field( 'job_salary' );
    echo "<li>Salary: " . $field_value . "</li>";
}
No comments yet.

Leave a Reply