Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Ryan C.

    (@ryancowles)

    Hi there! Could you share the changes that you made to content-summary-job_listing.php? Then I’d be happy to take a look. Thanks!

    Thread Starter Uprootednut

    (@uprootednut)

    Currently there is nothing custom added at the moment, everything I did either did nothing or broke it so I removed everything I tried.

    There is documentation on how to add salary field here as it doesn’t come as defuault: https://wpjobmanager.com/document/tutorial-adding-a-salary-field-for-jobs/

    Option 1 in the Display “Salary” on the single job page section seems like what I need to get it to work but there is no example for the first option. I’ve set up template override, I presume I need to use get_post_meta() in the content-summary-job_listing.php file.

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    In your template file you’d do something like this:

    $salary = get_post_meta( $post->ID, '_job_salary', true );
    echo esc_html( $salary );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Adding salary to job_summary’ is closed to new replies.