Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Unable to get candiate photo to appear for Resume Manager WordPress

Hi super coders!

1. Page in question:

2. Using this plugin to generate listing page:

3. Using this plugin for resumes:

4. I think the isolated code in question is this:

foreach($query as $key=>$post){
$data = array();
$data['post_title'] = $post->post_title;
$data['post_content'] = $post->post_content;
$data['post_permalink'] = get_the_permalink($post->ID);
$data['post_date'] = $post->post_date;
$data['comment_count'] = intval( $post->comment_count );
$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large');
if($large_image_url) {
$data['post_thumbnail'] = $large_image_url[0];
} else {
$data['post_thumbnail'] = '';

5. For the Resume Manager, the correct template tag is "the_candidate_photo".
Uses get_the_candidate_photo to output the candidates photo (or a placeholder).

How do i get the page to display the candidates' photos????


Answers (1)


Arnav Joy answers:

you can change this line

$large_image_url = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ), 'large');


$large_image_url = get_the_candidate_photo( );

firefish comments:

Tried. But it doesn't work.

firefish comments:

does this help? this is from resume manager:
* Get the photo for the resume/candidate
* @param WP_Post|int $post (default: null)
* @return string
function get_the_candidate_photo( $post = null ) {
$post = get_post( $post );
if ( $post->post_type !== 'resume' )

return apply_filters( 'the_candidate_photo', $post->_candidate_photo, $post );