Support » Plugin: WP Job Manager » How to show job ID in Job Dashboard

  • Resolved Nikonn


    Hello, I need your help in order to display a job ID in Job Dashboard. I placed the code in the “functions.php” file and the vacancy ID is displayed on the job view page.

    My code for functions.php

    add_action( 'single_job_listing_meta_end', 'display_job_ID' );
    function display_job_ID() {
      global $post;
      $post_ID = get_post_meta( $post->ID, '_job_ID', true );
      if ( $post->ID ) {
                 echo '<li>' . __( 'ID: ' ) . esc_html( $post->ID ) . '</li>';

    But for the convenience of employers, I need the ID to be displayed on the Job Dashboard. Please tell me how to do it!? Thank you.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Jen H.


    Hi @nikonn,

    Can you tell us where you got this code snippet? Generally, assistance with implementing or troubleshooting customizations is outside of the scope of the support that we can offer, per our Support Policy:

    If you need it, you can search for development help in a variety of places — here are a few to start:

    I’ll leave this open for a few days in case there’s someone else in the community who would like to chime in and lend a hand.

    Best of luck.

    Hello. I received this code by personal trial and error in the image of your code for displaying the field – Salary. Here is your code below:

    add_action( 'single_job_listing_meta_end', 'display_job_salary_data' );
    function display_job_salary_data() {
      global $post;
      $salary = get_post_meta( $post->ID, '_job_salary', true );
      if ( $salary ) {
        echo '<li>' . __( 'salary: ' ) . esc_html( $salary ) . ' $'  . '</li>';
    Plugin Contributor Jen H.


    Hi @nikonn,

    This might help:

    But note, once again, assistance with implementation of this kind of customization is outside of the scope of the support that we offer, so we won’t be able to assist you with any modifications or guidance with the above.


    Good, thank you. I will try to apply on my site.

    Plugin Contributor Jen H.


    Hey @nikonn,

    I wanted to follow up on this with you. I’ve recently learned about a plugin that would work nicely for what you need:

    This should add an ID column to your admin pages.

    Note that I don’t have any experience with it, but a colleague recommended it.


    Hello. Thanks for the advice. I use this plugin – it works in the admin panel. But I meant the “Jobs Management” page of the Job Manager plugin. When an employer manages his vacancies so that he sees the ID of his vacancies. I use a simple Job Manager plugin without additional premium packages, until the site gained popularity. The employer needs to see the ID of the vacancy, since access to the admin panel is closed. Why should he see a job ID? So that he could submit an application to the site administrator for the promotion of a vacancy to the status of “Premium”. The names of vacancies can be the same and in order not to ask unnecessary questions, it will be easiest to indicate the vacancy ID with a mortgage to make it “Premium” status.

    Plugin Contributor Adam


    You’d need to override our default template file to do this. Here’s a general tutorial:

    The file to override in this case is:


    That said, we aren’t able to actually write the code for you. You may want to look into one of these services if you need help:


    Hello. I did not spoil your beautiful code and made everything easier. In the file “job-dashboard.php” after line 40 I inserted a small code.

    <p>ID: <?php echo $job->ID ; ?></p>

    Now ID vacancy is displayed under the vacancy name.

    Thanks you.

    Plugin Contributor Richard Archambault



    The problem is, with the next update of the plugin, your change will be over-written. That is why we suggest that you over-ride the template, instead:



    This works well for the Job Dashboard template.
    However it doesn’t work on the content-job_listing.php template

    I thought the same code should work. It only shows the “ID:” text but does not display the actual post ID.

    Any ideas? Thanks

    Plugin Contributor Richard Archambault



    Could you please start your own thread, as per the Forum Welcome?

    You can post your own thread here:

    Thank you!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘How to show job ID in Job Dashboard’ is closed to new replies.