aeboi80
Member
Posted 8 months ago #
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
http://wordpress.org/extend/plugins/the-events-calendar/
Hey there aeboi80. Thanks for your post, and for using the plugin. This is a good question and should be relatively straightforward, if I'm understanding it correctly. While the specifics are outside my area of expertise I have asked a dev-minded member of the team to take a look, and you should have someone chiming in to point you in the right direction on Monday.
Hi aeboi80,
Here are some basic conditional wrappers that should help in most scenarios using our plugin: https://gist.github.com/2415009
Let me know if you need anything else!
- Jonah
Hey aeboi80,
Did that work for you or do you need any additional information?
- Jonah
Wanted to follow-up once more here, aeboi80, before we close out the thread here. Do you need anything else from us?