[Plugin: The Events Calendar] How to detect if the user is viewing the calendar?
-
I am setting up a navigation that detects which page is being viewed and then adds a new class to that item which changes the color of the link.
I am using
<?php if (is_page('calendar')){echo "active";}?>
but this does not seem to detect the calendar page.
Does anyone know what I will need to look for to grab it? I would like it to work no matter what they are viewing as long as it belongs to the calendar.Here’s the page I am currently building:
Legends ComicsThanks,
Andy
Crystal Commercehttps://www.ads-software.com/extend/plugins/the-events-calendar/
Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
- The topic ‘[Plugin: The Events Calendar] How to detect if the user is viewing the calendar?’ is closed to new replies.