Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike Jolley

    (@mikejolley)

    Template can be overridden via the theme https://github.com/mikejolley/WP-Job-Manager/wiki/Template-overrides

    You’d probabaly change this one https://github.com/mikejolley/WP-Job-Manager/blob/master/templates/content-single-job_listing.php

    You can also use filters if one exists in the location you want to add it.

    Thread Starter uklightpainter

    (@uklightpainter)

    Hi Mike,

    I’ve created a custom template, I’m stuck with getting the information t show on the front end!

    All I want to do is to show the salary field on the template. I understand that it’s put inside the meta field, but I can’t quite get my head around how to pull the information in.

    Please can you shine a light on how to get the salary information on the front end. I’m fine editing the template, but if you would kindly follow up with how to get this meta information, I’d be extremely grateful.

    I’ve tried
    <?php echo get_post_meta($post->ID, 'job_salary', true); ?>

    but nothing happens?

    Thread Starter uklightpainter

    (@uklightpainter)

    Sorted it!

    It was

    <?php echo get_post_meta($post->ID, '_job_salary', true); ?>

    (with the underscore in front of the job salary)

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Salary Field’ is closed to new replies.