Support

Home Forums Event Espresso Premium Event Title vs Page Title

Event Title vs Page Title

Posted: March 19, 2017 at 3:38 pm

Viewing 7 reply threads


Steve Culp

March 19, 2017 at 3:38 pm

Probably answered but I can’t find it. On my page here:
http://www.coleyscause.com/testsite/events/2017-memorial-golf-tournament/

The Page Title says EVENTS. Is there a way that the Event Title can go there instead or is there a way I can change EVENTS to be a custom title with spaces. This client only has this one event annually, so the word EVENTS does not work well here. Same sort of question with VENUES, can that Page Title be edited or swapped out?

Thanks!


Josh

  • Support Staff

March 20, 2017 at 10:28 am

Hi Steve,

The page titled displayed there is actually something your WordPress theme adds. Event Espresso does not add the page title. We can point you in the direction of how to customize what’s displayed there if we can take a look at the theme’s single.php template. Can you post a copy of your theme’s single.php file in a gist or pastebin?


Steve Culp

March 20, 2017 at 11:05 am

Ah, using Total Theme, and here is a pastebin link of their singular.php file which is what I think you need.


Steve Culp

March 20, 2017 at 11:05 am

http://pastebin.com/H34Vv6WJ


Josh

  • Support Staff

March 20, 2017 at 11:22 am

Thank you. From the code you posted it appears you’ll possibly make an edit to the theme’s header.php file, or to a function that’s called from the theme’s header.php file.


Steve Culp

March 20, 2017 at 12:15 pm

Is there something I should be looking for? I can contact the theme developer, hes pretty good with questions


Josh

  • Support Staff

March 20, 2017 at 12:45 pm

It’s the part of the template that’s outputting the html outlined in this screenshot:

https://www.evernote.com/shard/s4/sh/1fab21ae-eab9-4533-ac91-44336c95c510/ae72b698511941af815f83f41f6ac37e


Tony

  • Support Staff

March 21, 2017 at 4:18 am

Hi Steve,

I have a copy of Total theme installed on a test site I had a quick look at this, the page title is filterable within Total theme so you can use a function like this:

https://gist.github.com/Pebblo/113642c7abc87058fd642e3d702d0e69

Which changes the title to be the event name but only for EE Events.

You can add that filter to a Custom Functions Plugin on your site to do what you need.

My version of Total is an older version sent by another user, the filter may have changed now but it should at least give you a starting point.

Viewing 7 reply threads

The support post ‘Event Title vs Page Title’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso