Home › Forums › Calendar Products › Events Calendar PRO › Calendar Page Title
- This topic has 23 replies, 3 voices, and was last updated 9 years, 10 months ago by
Ben.
-
AuthorPosts
-
June 24, 2016 at 10:36 am #1131615
Ben
ParticipantHi Nico, this works fine for Events Calendar Pro. However, I’m having a similar problem with Community Events, and this patch doesn’t work for those pages. Is there a similar CSS switch for community pages?
June 26, 2016 at 12:12 pm #1132124Nico
MemberThanks for following up Gene! Indeed there is:
/* hide theme page title in calendar views, single event views and community submit, edit and list pages */
.post-type-archive-tribe_events #pagetitle,
.single-tribe_events #pagetitle,
.tribe_community_list,
.tribe_community_edit {
display: none;
}
Please let me know if we are in a good spot now,
Best,
NicoJune 26, 2016 at 12:19 pm #1132125Ben
ParticipantNO, unfortunately, both the submit and list community events views now appear as blank pages (absolutely nothing in the browser window). Perhaps I installed it wrong. I just added it to the TJ Custom CSS plugin file with the first CSS customization, like this:
/* hide theme page title in calendar views */
.post-type-archive-tribe_events #pagetitle {
display: none;
}/* hide theme page title in calendar views, single event views and community submit, edit and list pages */
.post-type-archive-tribe_events #pagetitle,
.single-tribe_events #pagetitle,
.tribe_community_list,
.tribe_community_edit {
display: none;
}Is that correct?
June 27, 2016 at 9:22 am #1132404Nico
MemberHey Gene,
My bad! Just replace the code with this updated snippet:
/* hide theme page title in calendar views, single event views and community submit, edit and list pages */
.post-type-archive-tribe_events #pagetitle,
.single-tribe_events #pagetitle,
.tribe_community_list #pagetitle,
.tribe_community_edit #pagetitle {
display: none;
}
Hope this makes it right finally,
Best,
NicoJune 27, 2016 at 10:19 am #1132478Ben
ParticipantStill getting a blank page.
June 28, 2016 at 9:18 am #1132929Nico
MemberHey Gene,
When pasting the last snippet I sent you over (instead of using the previous ones) in the browserr console I can correctly see the community pages without the #pagetitle div!
Can you please tell me which pages are still not working as expected (and send over a link so I can see them)? Can you make sure the last snippet is in place and the others are deleted? If you have any type of caching plugin/solution please be sure to flush it and re-test!
Thanks,
NicoJune 28, 2016 at 9:49 am #1133033Ben
ParticipantIt seems to be working now. It may be related to an interaction I described in another thread: “Bug in Day View”, since that’s the only thing I’ve changed…
When you select a day from the month calendar view by clicking on the date, the first item listed for the day is missing the event title (see attached)…This bug was caused by the instructions in the Knowledgebase article “Configuring The Events Calendar with Constants” at https://theeventscalendar.com/knowledgebase/configuring-the-events-calendar-with-constants in the section shown below. Removing the recommended DEFINE fixed the problem.
Fix Title Conflict with Some Themes
Have you noticed that sometimes the title for an event page isn’t displaying properly? Is it displaying twice or are loops of events displaying a single event title rather than an appropriate archive title? This could be due to your theme calling “the_title();” outside of the loop for that page.
To fix this problem, use TRIBE_MODIFY_GLOBAL_TITLE to overwrite the default title being output by the theme.
1 define(‘TRIBE_MODIFY_GLOBAL_TITLE’, true);June 29, 2016 at 9:41 am #1133551Nico
MemberThanks for the heads up Gene!
Might be related to that, not sure about it though. Anyway glad to hear this is finally solved 🙂
I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.
Best,
Nico -
AuthorPosts
- The topic ‘Calendar Page Title’ is closed to new replies.
