Home › Forums › Calendar Products › Events Calendar PRO › Extra Separator Before Title wp_title
- This topic has 13 replies, 3 voices, and was last updated 12 years ago by
Casey.
-
AuthorPosts
-
February 21, 2014 at 10:14 am #108029
Patti
ParticipantWhat’s happening is I’m seeing an extra separator right before the page title only on the single events pages. Example:
| Event Name | Site Name | Tag Line
It’s not happening on any other pages or posts on the site.Reduced the installation down to only the TEC & ECP plugins, using the 2011 theme with no modifications other than post revisions being turned off in the config file. It is happening on any WP theme I use, custom or standard.
Narrowed it down to it only happens if I’m using a default theme page template (or any theme template) rather than the Default Events Template in the calendar display settings.
Any suggestions for a fix? Or is this WP problem & not a ECP problem? I’m really not sure.
February 24, 2014 at 6:44 am #108619Casey
Participantmcewin,
Sorry to hear you’re having trouble here, but hopefully I can help. I’m noticing the same issue in my local environment, so I’ll open up a ticket for one of our developers to take a closer look. Please stand by and I’ll update your here when I know more.Thanks! 🙂
-Casey-
February 24, 2014 at 11:02 am #108701Patti
ParticipantTY
February 25, 2014 at 5:37 am #109070Casey
ParticipantYou’re welcome! I’ll keep this thread open and let you know when I have an update for you. Thanks!
February 25, 2014 at 5:42 am #109074Patti
ParticipantI have a simple, temporary fix, but in trying to work this out, I found another issue that I had not noticed before: The page title doesn’t include the site name and/or description when you move between any “list” pages using the next/previous or the search feature. Ex. Moving from February to March, or current photo items to next photo items. Is there a fix for that, or did you want me to post a new support request?
The original problem:
<title><?php wp_title( '|', true, 'right' ); bloginfo( 'name' ); echo " | "; bloginfo('description'); ?></title>The temp fix I’m using is this:
<title><?php wp_title( '', true, 'right' ); if ( tribe_is_event() || (!is_front_page() ) ) { echo " | "; } bloginfo( 'name' ); echo " | "; bloginfo('description'); ?></title>February 25, 2014 at 5:46 am #109077Casey
ParticipantPatti,
If you’d like to customize the titles that are displayed for each page, then paste the following code into your theme’s functions.php file: https://gist.github.com/ckpicker/cef90cffb87a99eaab5f You’ll need to modify this code to suit your needs accordingly, but that should allow you to customize what titles are displayed on each page.Our developers are still looking into your previous issue, and we’re hoping to get a fix in place for a future version soon. I’ll let you know when I have more specific information. Thanks!
February 25, 2014 at 5:53 am #109081Patti
ParticipantThank you for the link. I’m not really wanting to “customize” all the other pages per sey, I more want it to do like all the others – display the site title & description _after_ the page title — Ex. Events for March | Site Title | Site Description. That piece of code looks like it removes the dynamic part of the title.
Please don’t close this until there is an actual fix for the original problem. Thanks for your time.
February 25, 2014 at 6:59 am #109106Patti
ParticipantThis reply is private.
February 26, 2014 at 10:23 am #109681Casey
ParticipantPatti,
You should be able to get the dynamic title by using the following template tag: ‘tribe_get_events_title()’. This should return the title for the page that the user is currently on, so try replacing some of those static text lines with this like so:
$title = tribe_get_events_title() . " | " . get_bloginfo('name');
I think that will probably get you what you want, but give it a shot and let me know if you have further questions. Thanks! 🙂
-Casey-
March 3, 2014 at 7:02 am #111530Patti
ParticipantI haven’t had a chance to try this out yet because there are only so many hours in the day & I’m trying to get their season of events plugged in & ready for a March 10 launch. :-/ As soon as I get time I will give it a shot and let you know.
March 3, 2014 at 7:44 am #111542Casey
ParticipantPatti,
It looks like we’ll have a fix for this issue in the next release of the plugin. While we don’t yet have a release date yet set, we should definitely be releasing an update this month. I’ll keep you posted when I know more. Thanks!-Casey-
March 27, 2014 at 1:52 pm #123941Barry
MemberHi! We’ve now completed some work that ought to address this issue in our very next upcoming release (3.5 – due imminently). Thanks for your patience and if you do hit any further problems with this once you’ve updated please don’t hesitate to let us know in a new thread – thanks!
March 27, 2014 at 1:55 pm #123948Patti
Participant.
March 31, 2014 at 6:02 am #125114Casey
ParticipantThanks for confirming that this got you sorted. Since it looks like you’re all set, I’m going to mark this thread “Answered” and close it out.
By the way, if you have a minute or two, we would love it if you’d write a few words for us here: http://wordpress.org/support/view/plugin-reviews/the-events-calendar?filter=5
Thanks in advance. 🙂
Cheers,
Casey -
AuthorPosts
- The topic ‘Extra Separator Before Title wp_title’ is closed to new replies.
