Skip to content

Instantly share code, notes, and snippets.

@tripflex
Created January 18, 2015 02:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tripflex/a2a63987389a1767958f to your computer and use it in GitHub Desktop.
Save tripflex/a2a63987389a1767958f to your computer and use it in GitHub Desktop.
// 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>";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment