Home Forums WP User Integration Add "Name" to [ESPRESSO_MY_EVENTS] Reply To: Add "Name" to [ESPRESSO_MY_EVENTS]

Reply To: Add "Name" to [ESPRESSO_MY_EVENTS]

Author Replies
Tony # Posted on April 4, 2018 at 3:46 am

Hi there,

To do that you need to edit a different template file.

Within /eea-user-intergration/templates/ you’ll find the content-espresso_my_events-event_section_tickets.template.php template.

Copy that to your themes root directory, the same way you did with my snippet above.

From line 12 you’ll have:

    <?php echo $ticket instanceof EE_Ticket ? $ticket->name() : ''; ?>

Above that add this:

        $attendee = $registration->attendee();
        echo $attendee instanceof EE_Attendee ? $attendee->full_name() : '';

Like so –

Do NOT follow this link or you will be banned from the site!