Support

Home Forums Event Espresso Premium Calendar tooltip meta fields

Calendar tooltip meta fields

Posted: August 11, 2014 at 12:48 pm

Viewing 2 reply threads


Jon Huther

August 11, 2014 at 12:48 pm

How can I get event meta fields into the tooltip on the calendar? My meta field key is ‘sponsor’.

I’ve tried:
echo $events[ $cntr ]['sponsor'];
and
echo $event_meta['sponsor'];


Jon Huther

August 11, 2014 at 12:49 pm

I’ve tried this in espresso-calendar.php.


Dean

August 12, 2014 at 1:25 am

Hi,

You could try something like

$events[ $cntr ]['description'] .= $event_meta['sponsor'];

This would have to go after

$events[ $cntr ]['description'] = reset( explode( '', $events[ $cntr ]['description'] ));

at approx line 710 and adds the sponsor value after the description (note the .= rather than = ).

Viewing 2 reply threads

The support post ‘Calendar tooltip meta fields’ 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