Home › Forums › Calendar Products › Events Calendar PRO › Main Calendar Title vs Single Event Title
- This topic has 9 replies, 2 voices, and was last updated 11 years, 6 months ago by
Geoff.
-
AuthorPosts
-
November 4, 2014 at 3:52 pm #860804
twilgis
ParticipantIf I select the Events template to be Default Events Template – it puts the event title in the single listing – http://www.captivatechurch.com/event/gem-program/2014-11-06/ – but when I go to the main calendar page – http://www.captivatechurch.com/events/ – it has the default title such as “Events for……….” which is not really needed. Is there a way to have the main page not include the title area?
November 4, 2014 at 4:25 pm #860852Geoff
MemberHey there, Matt! Thanks for getting in touch and welcome to the forums. I took a quick look at your site and love how the calendar is looking–awesome work. 🙂
Yes, removing the title from the main calendar page is certainly possible. Try adding this snippet to your theme’s functions.php file and see if it does the trick.
Does this help answer your question? Please let me know.
Cheers!
GeoffNovember 4, 2014 at 4:37 pm #860882twilgis
ParticipantThanks Geoff – the function.php file I am working with is Vamtam’s Church Event theme and it does not appear to be the typical function.php file – when I try to add your code – it errors with the following: Warning: call_user_func_array() expects parameter 1 to be a valid callback, function ‘change_month_view_events_title’ not found or invalid function name in /home/capt1vatechurch/public_html/wp-includes/plugin.php on line 214
November 4, 2014 at 4:49 pm #860913Geoff
MemberHi there, Matt!
You may need to wrap the snippet in PHP tags or fiddle with it to fit your theme’s formatting.
An alternative is to override the content.php template (located in wp-content/plugins/the-events-calendar/views/month/content.php) and removing the following line:
<h2><?php tribe_events_title() ?></h2>There’s more information on overriding templates in our Themer’s Guide.
I hope this helps!
Geoff
November 4, 2014 at 5:23 pm #860963twilgis
ParticipantGeoff,
Didn’t really do what I needed, but here is the real problem. When using the Default Events Template, it results in this – http://www.captivatechurch.com/events/ – you will notice the title is “Events for November 2014” at the bottom click on the option to view December – it will take you here – http://www.captivatechurch.com/events/2014-12/ – you should notice the title of the page remains referring to November, what would cause this?
November 5, 2014 at 7:04 am #862108Geoff
MemberHi there, Matt!
Didn’t really do what I needed
I’m sorry. I had read your original question as asking for a way to completely remove the heading title (“Events for [Month]”) on the main calendar page. Either of the two options I provided will help accomplish that. If you were asking for something else, please clarify and I’ll do my best to answer your question. 🙂
 you should notice the title of the page remains referring to November, what would cause this?
This is definitely strange and I see what you are referring to. Could you try testing for conflicts and let me know what you discover? I suspect that this might be an issue related to your theme or a plugin conflict, but want to confirm before troubleshooting further.
Cheers!
GeoffNovember 6, 2014 at 5:36 pm #865634twilgis
ParticipantGeoff,
I went through the steps of testing for a conflict and it does not appear to be a conflict with a plugin.
November 6, 2014 at 5:45 pm #865651twilgis
ParticipantGeoff,
I apologize, ignore my previous entry – I tried the steps again and the issue appears to be theme related. Is there any assistance you can give for that or should I contact Vamtam?
November 7, 2014 at 5:07 am #866665twilgis
ParticipantGeoff,
I had contact Vamtam support and the issues was related to an upgrade – it’s been fixed at this time.
November 7, 2014 at 7:22 am #866866Geoff
MemberThanks for following up! I’m glad testing for conflicts helped out and you were able to resolve the issue with a theme update. Nice work!
I’m going to go ahead and close this thread, but please feel free to hit us up with a new thread if any other questions pop up. We’d be happy to help. 🙂
Also, if you have a moment, we’d love it if you shared your thoughts on the plugin on our review page.
Cheers!
Geoff -
AuthorPosts
- The topic ‘Main Calendar Title vs Single Event Title’ is closed to new replies.
