You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just another plugin user but if I understand well what you want to do:
You'll need to make a copy of job-preview.php in your child theme. The path should be themes > your_theme > jobs > preview > job-preview.php
To get the company logo you can add this code:
// Get the logo
$cie_logo = get_post_meta($post_id, 'position_logo', true);
// If no logo, use your default one
if(!$cie_logo) {
$cie_logo = esc_url( get_stylesheet_directory_uri() . '/assets/images/your_default_logo.png' );
}
You can also get the company name so you'll have a alt for your img: $cie_name = get_post_meta($post_id, 'position_hiring_organization_name', true);
You now can create your HTML $job_logo = '<img src="' . $cie_logo . '" alt="' . $cie_name . '">';
Finally just add your $job_logo somewhere in the $out already displayed $out .= $job_logo
I think this same question was asked via the now redundant forum, and hence no advice.
Hoping you're able to assist?
Many thanks,
Rob
The text was updated successfully, but these errors were encountered: