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?
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.
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.
Support forum for Event Espresso 3 and Event Espresso 4.