Support

Home Forums Event Espresso Premium Modify Event Post

Modify Event Post

Posted: September 21, 2013 at 12:58 am


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 6 years, 2 months ago by  Nandan Umarji.


Dean

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'))
								   
								   );

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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Dean 6 years, 2 months ago ago

Topic Tags

Tagged: ,

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!