Hi I am trying to write a custom if statement in the job.php using WP job board for when the company name equals career_edge to not display a disclaimer and all other instances to display the disclaimer. Below is what I creatively came up with. Not very advanced with php. Any help would be great!
<?php if($job->company_name == "career_edge"): ?>
<?php else; ?>
<p>Disclaimer text goes here</p>
<?php endif; ?>
Aucun commentaire:
Enregistrer un commentaire