Posted: October 28, 2015 at 3:34 pm
|
I’ve added presenters to the “people admin” and then choose those individuals when creating the event registration page. Two questions: 2. I’ve added the presenter’s photo as a featured image under People Admin yet as you can see, it doesn’t show up on the Event page. I’d like their photo to show up. |
Hi Kelsa, We are finalizing a drag and drop option that will let you shift that information around. If you need a solution now, then try adding the following in your child theme’s functions.php file or a site specific plugin: add_filter ('the_content', 'my_remove_event_datetimes', 100 ); // remove datetimes function my_remove_event_datetimes( $content ) { if ( 'espresso_events' == get_post_type() && is_singular() && !post_password_required() ) { remove_filter( 'the_content', array( 'EED_Event_Single', 'event_datetimes' ), 110 ); add_filter( 'the_content', 'my_add_event_datetimes', 121); } return $content; } // add datetimes after the tickets function my_add_event_datetimes( $content ) { return $content . EEH_Template::locate_template( 'content-espresso_events-datetimes.php' ); } add_filter ('the_content', 'my_remove_event_tickets', 100 ); // remove tickets function my_remove_event_tickets( $content ) { if ( 'espresso_events' == get_post_type() && is_singular() && !post_password_required() ) { remove_filter( 'the_content', array( 'EED_Event_Single', 'event_tickets' ), 120 ); add_filter( 'the_content', 'my_add_event_tickets', 160); } return $content; } // add tickets after the content function my_add_event_tickets( $content ) { return $content . EEH_Template::locate_template( 'content-espresso_events-tickets.php' ); } add_filter ('the_content', 'my_remove_event_people', 100 ); // remove INSTRUCTOR function my_remove_event_people( $content ) { if ( 'espresso_events' == get_post_type() && is_singular() && !post_password_required() ) { remove_filter( 'the_content', array( 'EE_People_Template_Hooks', 'people_event_details' ), 90 ); add_filter( 'the_content', 'my_add_people_details', 150); } return $content; } // add INSTRUCTOR after the content function my_add_people_details( $content ) { return $content . EEH_Template::locate_template( 'content-espresso_events-people.php' ); } // remove VENUE function my_remove_event_venue( $content ) { if ( 'espresso_events' == get_post_type() && is_singular() && !post_password_required() ) { remove_filter( 'the_content', array( 'EED_Event_Single', 'event_location' ), 120 ); add_filter( 'the_content', 'my_add_event_venue', 102); } return $content; } // add VENUE after the content function my_add_event_venue( $content ) { return $content . EEH_Template::locate_template( 'content-espresso_venues-location.php' ); } Your second question can be done with some template changes but we would like to make sure that the order is updated first. Thanks — |
|
|
Thanks Lorenzo. I think I’ll just wait for the rollout of the new drag & drop feature (which would be great by the way). Until then, I’ll simply add presenters to the body of the event itself and not use the “people admin” section for now. Thanks for the response, I look forward to the new features! |
Hi Kelsa, We’ll update your support post once it becomes available. Thanks and do enjoy your weekend! — |
|
The support post ‘Layout of Presenters on Event Page’ 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.