Support

Home Forums Event Espresso Premium Add Venue Title to Event Calendar

Add Venue Title to Event Calendar

Posted: October 11, 2012 at 5:07 am


Pichner Szabina

October 11, 2012 at 5:07 am

Hi,

I wanted to add the Venue title to the Event Calendar.

Are there any shortcode options available.


Pichner Szabina

October 11, 2012 at 5:42 am

Hi,

After some searching and reading, i found out that it can be done by adding the below line to the Calendar population in espresso-calendar.php file (at line no. 604)


element.find('.fc-event-title').after($jaer('' + id.'"]');?> + ''));

But, now the calendar displays all events. I suppose it is not picking the event id. Please let me know what is the variable for event id in this php file.

Thanks in Advance.


Dean

October 15, 2012 at 5:31 am

At line 340

//Id of the event       
$eventArray['id'] = $event->id;

However, if you look at line 611 approx you will see

text:'<?php _e('Description', 'event_espresso'); ?>',

if you change it to text: event.title, it will change the word “description” to the event title (note the trailing commas are important).

This may be of use to you as well http://craigsworks.com/projects/qtip/docs/reference/#content

The support post ‘Add Venue Title to Event Calendar’ 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