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.


    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