Created
January 18, 2015 02:41
-
-
Save tripflex/a2a63987389a1767958f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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