Support

Home Forums Event Espresso Premium Getting the Event Title for Breadcrumbs

Getting the Event Title for Breadcrumbs

Posted: November 16, 2013 at 9:47 am


steeleb88

November 16, 2013 at 9:47 am

I have a function that displays breadcrumbs at the top of my page. When the Event Details page loads an event, the breadcrumbs show “Home / Event Details”. Is there a way to grab the title of the event so that the breadcrumbs will show “Home / Event Details / Event Title”? The breadcrumbs function is in the functions.php file. Is it possible to use the eventId passed into the event details page to grab the title?


steeleb88

November 17, 2013 at 10:25 pm

bump


Dean

November 18, 2013 at 1:58 am

Hi Lucas,

It could be possible, it depends on your set up. If you are in the event registration page, I would suggest looking at the $event array variable, as this will contain all the details about the event including the title.

Moving forward, from 4.0 we will be using true custom post types so breadcrumbs should be able to find the event name with no issues.

Also, please note that we try to work through the forums in date order, oldest first, so bumping a thread will effectively put you towards the back of the queue.


steeleb88

November 18, 2013 at 7:18 am

Understood, thank you Dean.

The support post ‘Getting the Event Title for Breadcrumbs’ 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