Skip to content

Commit 60d92fa

Browse files
author
kapil.bulchandani
committed
changing tribe_is_events
1 parent 2870ba7 commit 60d92fa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roots-nextdatagov/templates/header-top-navbar.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@
8080
echo 'Events';
8181
} else if (tribe_is_event() && !tribe_is_day() && !is_single()) {
8282
echo 'Events';
83-
} else if ( is_single()) {
83+
} else if ( is_singular( 'tribe_events' )) {
8484
echo 'Events';
8585
} else if (tribe_is_day()) {
8686
echo 'Events';

0 commit comments

Comments
 (0)