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
how to populate the event name in tag | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium how to populate the event name in tag

how to populate the event name in tag

Posted: May 9, 2013 at 3:44 pm

Viewing 1 reply thread


chris falkenstein

May 9, 2013 at 3:44 pm

how can i display the event’s title in the <title> tag?  i figured this would be standard practice.  any suggestions?


Dean

  • Support Staff

May 13, 2013 at 3:55 am

Hi Chris,

Due to the way the events are set up, they all actually run on one page (by default this is the event registration page).

As such WordPress uses the page name for the title.

In order to have a dynamic system in place you would need to create a page template with a reference to a custom header file that would pull in the event title and use that in place of the default one.

You should be able to use the following php in the title html

<?php echo $all_meta['event_name']; ?>

Going forward, 4.0 and beyond will be using a custom post type system that will allow things like this either automatically or with more ease.


Josh

December 6, 2013 at 9:02 pm

Or you can install this plugin:

https://gist.github.com/joshfeck/7832044

Viewing 1 reply thread

The support post ‘how to populate the event name in tag’ 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