Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Event Meta | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Event Meta

Event Meta

Posted: February 23, 2013 at 4:54 am

Viewing 6 reply threads


mrclarke

February 23, 2013 at 4:54 am

I need to add some default extra data to my event(s), so naturally I thought the event meta would be the perfect solution. I tried adding the following example code found Here and copied it to custom_functions.php file and the file ws uploaded here: wp-content/uploads/espresso.

Have I missed something out? or done something wrong? Can you help?


Dean

  • Support Staff

February 25, 2013 at 1:14 am

Hi,

The event meta is added via the event editor. To display the event meta, you need to add the shortcode to the event or the

<?php echo do_shortcode('[EE_META type="event_meta" name="my_meta_key"]'); ?>

to the event_registration_display or event_list_display templates. You could probably add that php code elsewhere as well (like a post/page template) though I have never tried it.


mrclarke

February 25, 2013 at 5:04 am

Hi Dean,
I have added the shortcode [EE_META type="event_meta" name="my_meta_key"] exactly as stated on the example page above into the event editor, it is still not working.


mrclarke

February 25, 2013 at 5:06 am

I do not wish to add the PHP code as I only want the event_meta data to appear on certain events and not all.


mrclarke

February 25, 2013 at 5:06 am

I do not wish to add the PHP code as I only want the event_meta data to appear on certain events and not all.


Dean

  • Support Staff

February 25, 2013 at 5:07 am

Hi,

Did you change the “my_meta_key” to the name of your meta key field?

For example, if you go to the meta tags and add something into the event_hastag meta key field, you would need to use the shortcode

[EE_META type="event_meta" name="event_hashtag"]


mrclarke

February 25, 2013 at 5:34 am

Hi Dean,
Problem solved – thank you.

Viewing 6 reply threads

The support post ‘Event Meta’ 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 - Staging Server