So I am working on the single-event.php and the override is working fine but my php skills are a bit rusty and I cant seem to get the check working for me. Below is the code I am using to test out if it is working or not and it seems to just be setting the category to Promotions for all single pages now. Its picking up the one category so I’m assuming its some semantic issue with my bit of coding? Any kind of help would be greatly appreciated! Thanks!!
<?php
$tribe_cat = tribe_is_event_category();
?>
<?php if($tribe_cat = ‘Promotions’) : ?>
<div>
Do HTML Stuff for just my Promotions category Single Pages
</div>
<?php else : ?>
<div>
Do HTML Stuff for my all of my other category Single Pages
</div>
<?php endif; ?>