[Plugin: The Events Calendar] Conditional tag for events
-
I am trying to do something
if( is_event() ){ echo '<h1>Activities</h1>'; }
Similar to how you could use any of the other worpdress conditional tags. Like
if( is_blog() ){ echo '<h1>Our Blog</h1>'; }
I found this thread, but I am not sure what to make of it. I am trying to do this outside of the loop.
http://wordpress.org/support/topic/plugin-the-events-calendar-events-page-title?replies=22
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: The Events Calendar] Conditional tag for events’ is closed to new replies.