How to show job ID in Job Dashboard
-
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)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘How to show job ID in Job Dashboard’ is closed to new replies.