Home › Forums › Calendar Products › Events Calendar PRO › Page title doesn't display on Events list or calendar view
- This topic has 13 replies, 6 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
January 20, 2012 at 1:21 pm #13704
Jessica
ParticipantHi There,
I’m not getting a page title on the events list or calendar view but I’m not sure where the page template is for those pages so I can put it in. Where do I fix this?http://www.seattleglobalist.com/events/
http://www.seattleglobalist.com/events/month/January 20, 2012 at 7:50 pm #13727Rob
MemberHi Jessica. I’m seeing “Calendar of Events” on the title for both of those pages; have I misinterpreted the request here? Apologies if so. Remember that you also have the option to add HTML before/after your calendar on the Settings -> The Events Calendar page. Let me know if I’ve missed the point or if you already resolved this.
January 28, 2012 at 3:44 pm #14323schmidtysays
MemberI think she may be referring to the same issue I have….
I cannot figure out how to control the SEO title that is being displayed in the tag of the header. In list view, the title is always the first post in my list.
Is there a way to customize this tag on both the List and Calendar views?
http://www.stufftodoindallas.com/events/
http://www.stufftodoindallas.com/events/month/January 31, 2012 at 10:45 am #14455Rob
MemberHey Schmidtysays. Thanks for the heads up here; this was an issue in an earlier build but should have been resolved with the jump to 2.0.3. Can you confirm that you’re running 2.0.3 for both The Events Calendar and PRO? Also, what theme are you on?
Let me know about this and I can keep trying to troubleshoot from there.
January 31, 2012 at 11:28 am #14473Jessica
ParticipantHi Rob,
I don’t see “Calendar of Events on either page. In the HTML the tag is empty. @Schmidtysays, maybe you can tell me how you fixed it on your site?
January 31, 2012 at 11:29 am #14474Jessica
ParticipantSorry, that’s “In the HTML the tag is empty…”
January 31, 2012 at 11:29 am #14475Jessica
Participant“In the HTML the title tag is empty…”
January 31, 2012 at 12:59 pm #14478schmidtysays
Member@Rob La Gatta: I am using version 2.0.3 for both events calendar and events calendar pro. The theme I am using is Graphene. I am also using the Platinum SEO plugin to control my page titles.
Typically I can go to a page or event and manually change the page title in the platinum SEO plug-in. But since the list view and calendar view aren’t actual pages in the CMS, I don’t know where I would go to change it.
Is it possible that the platinum SEO plug-in is interfering with the page title fix rolled out in 2.0.3?
I don’t know much about php, but could I maybe add a title tag to list.php and gridview.php to manually override the title that is being displayed?
@Jessica – Currently my title tag is being populated with data entered into the Platinum SEO PluginFebruary 1, 2012 at 7:47 am #14513Rob
MemberHey schmitdysays: up until this point the majority of conflicts we’ve heard of on this particular issue have been theme related (specifically Headway), but an SEO-related plugin could also certainly be the culprit. Are you in a position where you can test deactivation of that to see if the issue persists on the calendar side?
February 2, 2012 at 10:26 pm #14632Todd
MemberI’m having the same issue. Not using any SEO plugins. Just purchased and downloaded the product today.
February 3, 2012 at 5:28 am #14639schmidtysays
Member@Rob – Ok I deactivated the SEO plug-in and the page titles says “Upcoming Events >> {site name}”
So I guess we know its the plug-in now, but I don’t what the fix is. I’d hate to not use my SEO plug-in because it does generate a lot of traffic for my site.
Can I hard code something in the php files to overwrite the titles for the plug-in on these two pages only?
February 3, 2012 at 9:48 am #14654Rob
MemberHey Todd: I can take a look for you. Got a link to the site-in-question?
Schmidtysays: That may be possible, but it’s outside my area of expertise. Let me see if Jonah has a suggestion as to if/how that would be accomplished.
February 3, 2012 at 12:35 pm #14674Jonah
Participant@Schmidtysays: you’ll need to filter or hook into the php function that your theme or Platinum SEO is using to get the page titles and modify the page titles conditionally for the calendar and list view pages. For example, in the Genesis theme framework you can use the following code to modify the page title hook output by Genesis and conditionally set the page titles on the grid and list view:
add_action('genesis_post_title','custom_do_post_title');
function custom_do_post_title() {$title = get_the_title();
if ( strlen( $title ) == 0 )
return;if ( tribe_is_month() ) { //set title on grid view
$title = 'Events Calendar';
} else if ( tribe_is_event() && !tribe_is_day() && !is_single() ) { //set title on list view
$title = 'Events List';
} else if ( is_singular() ) {
$title = sprintf( '%s', apply_filters( 'genesis_post_title_text', $title ) );
} else {
$title = sprintf( '%s', get_permalink(), the_title_attribute('echo=0'), apply_filters( 'genesis_post_title_text', $title ) );
}echo apply_filters('genesis_post_title_output', $title) . "\n";
}
By the way, In 2.1, we’re ditching the old display system and instead going back to using actual pages for grid and list view so things like this will become much easier.
I hope this helps,
JonahJuly 4, 2015 at 5:00 pm #975543Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘Page title doesn't display on Events list or calendar view’ is closed to new replies.
