WordPress.org

Forums

Events Manager
[resolved] attendeeslist.php modification (5 posts)

  1. cgrabe
    Member
    Posted 2 years ago #

    Hello,

    I have searched through the forum and it looks like the attendeelist.php file might have been updated since there was any info on this subject.

    Currently on the single event page, it only shows a profile pic for who is registered for the event. I am looking for a way to add the subscriber's name to the right of their profile pic with any comment they add underneath. If their profile pic was clickable that would be a bonus.

    Any info on this would be much appreciated.

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 2 years ago #

    hi,

    maybe this will help - http://wordpress.org/support/topic/plugin-events-manager-list-of-attendees?replies=42

    also, try adding $EM_Person->display_name

  3. cgrabe
    Member
    Posted 2 years ago #

    After reading this I realized that it was the attendees.php that I needed, not attendeeslist.php

    Here is my code:

    http://pastebin.com/n7cTN6qi

    Where would I put the $EM_Person->display_name?

    My goal it to display AVATAR, NAME, COMMENT for each attendee.

    Thanks

  4. agelonwl
    Member
    Posted 2 years ago #

    try to add that beside

    echo '<li>'. get_avatar($EM_Booking->get_person()->ID, 50) .'</li>';

    to

    echo '<li>'.get_avatar($EM_Booking->get_person()->ID, 50).' - '.$EM_Booking->get_person()->display_name.'</li>';

    then for the booking comment $EM_Booking->booking_comment

  5. cgrabe
    Member
    Posted 2 years ago #

    That worked!

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.