Category Condition stopped working after event migration
-
I did the migration of all of my events to TEC 6.0. I am using the newest versions of TEC and TEC Pro. All of my conditionals on my list views stopped working. They still work on single event pages though. I have disabled my theme and all of my customizations for TEC and tried starting from scratch with ONLY my conditional statements as customizations and it still doesn’t work with the 2024 theme.
This is the type of conditional I was using, however I had quite a few. This is in the [my-theme]/tribe/events/v2/list/event.php file.
<?php if (tribe_event_in_category('headliners', $event->ID)):?> <?php $this->template( 'list/event/date', [ 'event' => $event ] ); ?> <?php endif ?>
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Category Condition stopped working after event migration’ is closed to new replies.