WordPress.org

Support

Support » Plugins and Hacks » WP Job Manager » [Resolved] Resume Manager – Using template tags

[Resolved] Resume Manager – Using template tags

  • Hello again!

    I would like to set up my users profiles to display their resumes (obviously, if the current logged in user is allowed to view). How would I go about using the template tags? Particularly, I am curious about how they know which resume to grab information from.

    So for example, given the_candidate_title( $before = ”, $after = ”, $echo = true, $post = null ) would $post = the post title to know which resume? or the post ID? If either of the prior, then how do I know the posts IDs/titles for the resumes that user has submitted?

    https://wordpress.org/plugins/wp-job-manager/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Resolved with the following solution:

    <?php
    $resumes = get_resumes( array(“author”=>bp_displayed_user_id()) );
    foreach($resumes->posts as $resume):
    echo the_candidate_title( ”,”,false, $resume->ID ).’ID ).'”>View‘;

    endforeach;
    ?>

    Just to reiterate, the following code gets all the resumes of the displayed user and echo the position title of the resume with a view link

    Hi,
    I attempted to use the code but it kept giving me a syntax error in the echo line. Did you have the same issue?

    I apologize, I’m new to php.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Resume Manager – Using template tags’ is closed to new replies.
Skip to toolbar