Gina Brooks

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • in reply to: Unique Single Page Event looks for different Categories #1336470
    Gina Brooks
    Participant

    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; ?>

    in reply to: Wrong Time Zone on Google Search Event #1163008
    Gina Brooks
    Participant

    This reply is private.

    in reply to: Wrong Time Zone on Google Search Event #1162298
    Gina Brooks
    Participant

    This reply is private.

Viewing 3 posts - 1 through 3 (of 3 total)