Skip to content

[job_post_contacts]

The [job_post_contacts] shortcode renders contact person details for the current job post, including photo, name, email, and phone number.

[job_post_contacts]

This shortcode is designed for use on individual job post pages.

For each contact person attached to the job post:

  • Photo — profile image
  • Name — full name (first + last)
  • Email — email address
  • Phone — phone number

For more control over the layout, use the template function approach with the nested object loop:

<?php if (have_jobpost_object('contacts')): ?>
<div class="contacts">
<?php while (have_jobpost_object('contacts')): the_jobpost_object(); ?>
<div class="contact">
<?php if (get_jobpost_object('image')): ?>
<img src="<?php echo get_jobpost_object('image'); ?>"
alt="<?php the_jobpost_object('name'); ?>" />
<?php endif; ?>
<h4><?php the_jobpost_object('name'); ?></h4>
<?php if (get_jobpost_object('title')): ?>
<span><?php the_jobpost_object('title'); ?></span>
<?php endif; ?>
<?php if (get_jobpost_object('email')): ?>
<a href="mailto:<?php the_jobpost_object('email'); ?>">
<?php the_jobpost_object('email'); ?>
</a>
<?php endif; ?>
<?php if (get_jobpost_object('mobilePhone')): ?>
<span><?php the_jobpost_object('mobilePhone'); ?></span>
<?php endif; ?>
</div>
<?php endwhile; ?>
</div>
<?php endif; ?>
FieldDescription
nameFull name (firstName + lastName)
firstNameFirst name
lastNameLast name
titleJob title
emailEmail address
mobilePhoneMobile phone number
officePhoneOffice phone number
linkedinLinkedIn profile URL
imageProfile image URL
userIdRecMan user ID