Home › Forums › Calendar Products › Events Calendar PRO › "Calendar Of Events" title change
- This topic has 49 replies, 5 voices, and was last updated 14 years, 1 month ago by
Jonah.
-
AuthorPosts
-
February 17, 2012 at 7:58 am #15325
Peter
MemberWhat theme should I try to revert?
February 17, 2012 at 7:19 pm #15356Rob
MemberPeter: you’d want to give this a go on the default 2011 WordPress theme.
February 25, 2012 at 8:13 am #15691Peter
MemberWhen I try to activate the Twenty Eleven 1.3 theme from WordPress the header is only showing “Calendar of Events”.
Is the issue now located in the Karma theme I am using?
February 27, 2012 at 6:59 pm #15773Rob
MemberThanks for confirming, Peter. It does sound like there is a problem on the theme side there. Does that point you in the right direction? Has your dev modified the theme at all or customized it in any way?
February 28, 2012 at 4:59 am #15827Peter
MemberThe only modifications made to this theme is the following.
——————————————————
.content_full_width {font-size:14px !important;}
#header .logo {margin-top: -32px !important;}
#header .logo {width:960px !important;}
#header .logo {text-align:center !important;}
.header-holder {height: 154px !important;}
#menu-main-nav {width:790px !important;}
#menu-main-nav {margin-right:64px !important;}
.home-flash-slider {width:840px !important;}
.home-flash-slider {margin-top:115px !important;}
#menu-main-nav .drop ul a span {font-size:16px !important;}
#menu-main-nav .drop ul a span {text-align:left !important;}
.page-id-227 #content .message_blue, .page-id-227 .content_full_width .message_blue {width:580px !important;}#tribe-events-calendar-header .tribe-events-calendar-buttons {
margin-top: 0;
}
——————————————————Besides these modifications the theme is complete standard.
February 28, 2012 at 7:49 am #15849Rob
MemberAlright. Thanks for confirming. Not sure about this myself, but let me see if our dev Jonah has any ideas when he hits the forum later today. Stay tuned.
February 28, 2012 at 9:48 am #15863Julien
ParticipantYou should use WordPress SEO plugin and you will be able to change most of titles (not calendar titles)
February 28, 2012 at 12:29 pm #15872Peter
Member> Rob
Thanks. I will stay tuned.> Julien
I need to change the calendar title saying “Calendar of EventsCalendar of Events”.February 29, 2012 at 9:58 am #15930Jonah
ParticipantHi Peter,
Depending on what setting you have for the Events Template in Settings > The Events Calendar, you’re going to want to add this code to either your page.php or ecp-page-template.php files.
if(tribe_is_month()) {
echo 'Calendar Grid';
} else if(tribe_is_event() && !tribe_is_day() && !is_single()) {
echo 'Event List';
} else if(tribe_is_event() && !tribe_is_day() && is_single()) {
echo 'Single Event';
} else if(tribe_is_day()) {
echo 'Single Day';
} else {
the_title();
}
Does that help? What do you have for that setting?
March 1, 2012 at 5:18 am #16032Peter
MemberHi Jonah,
I’ve tried to add the code to ecp-page-template.php without any result. I can’t find the page.php file. Where might that be located?
March 1, 2012 at 9:26 am #16056Rob
MemberHey Peter, the page.php file would be in your theme (not the plugin itself). That help?
March 1, 2012 at 9:30 am #16057Peter
MemberBefore I add any code to the page.php file, I would like to know where exactly in that file, I should please the code.
Before, after, in between what part of the code?
March 2, 2012 at 7:43 am #16118Rob
MemberOK, thanks. My guess is that pretty much anywhere would be fine and is probably worth a go if you haven’t already, but I want to have Jonah confirm. Will get him to take a look today.
March 2, 2012 at 8:36 am #16127Peter
MemberI’ve tried to paste the code in the middle of the existing code and no change was made to the frontend.
March 2, 2012 at 11:32 am #16135Jonah
ParticipantHi Peter, in page.php do you have the the_title() function anywhere? If not, this won’t work. You need to use the code wherever the the_title() function is being called in your theme. It varies theme to theme so you’ll need to look around for it. What theme are you using?
-
AuthorPosts
- The topic ‘"Calendar Of Events" title change’ is closed to new replies.
