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
Modify Event Post | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Modify Event Post

Modify Event Post

Posted: September 21, 2013 at 12:58 am

Viewing 1 reply thread


Nandan Umarji

September 21, 2013 at 12:58 am

I have a theme which has a custom post type named as “Portfolio”. I would like to create a “portfolio” instead of a post while creating an event in event espresso.

  • This topic was modified 11 years, 4 months ago by Nandan Umarji.


Dean

  • Support Staff

September 23, 2013 at 12:55 am

Hello,

The only way to allow this is to make a modification to the core plugin code, which we do not recommend as updates will over write the modification.

If you still wish to do that, you can edit the following file:

event-espresso/includes/admin-files/event-management/new_event_post.php

in there at approx line 34 it says

        $custom_post_array = array(array('id' => 'espresso_event', 'text' => __('Espresso Event', 'event_espresso')));

Change this to following (you may need to change the portfolio to the correct custom post type slug.

        $custom_post_array = array(
								   array('id' => 'espresso_event', 'text' => __('Espresso Event', 'event_espresso')),
								   array('id' => 'portfolio', 'text' => __('Portfolio', 'event_espresso'))
								   
								   );
Viewing 1 reply thread

The support post ‘Modify Event Post’ 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