renefi
May 15, 2017 at 3:14 am
Hi,
I would like to show the attendee address in the attendee list and found this: https://eventespresso.com/topic/ee4-modify-list-attendees-shortcode-to-show-additional-attendee-info/
But I cannot find the php-file. Has this been renamed? Or can you tell me how to do this.
Thank you
Rene
Tony
May 15, 2017 at 6:44 am
Add New Note to this Reply
Hi Rene,
No that file have not been rename, it is within:
\event-espresso-core-reg\public\Espresso_Arabica_2014\
You can copy that file to your themes root directory and make any edits there.
The instructions Josh provided in the above thread are still valid and should output the details you need.
renefi
May 15, 2017 at 12:17 pm
Add New Note to this Reply
Thanks Tony. I found it.
renefi
May 15, 2017 at 1:38 pm
Add New Note to this Reply
Hi,
It works so far. I need also to display the address and Email. Sorry I cannot get it to work. Can you help me with that?
Rene
Tony
May 15, 2017 at 4:17 pm
Add New Note to this Reply
I recommend you install Kint on the site, then wrap the $contact
variable within d();
to output all of the available methods on the contact.
I need also to display the address and Email
Address 1? You can use $contact->address()
For email, you can use $contact->email()
So:
<li><?php echo $gravatar . ' ' . $contact->full_name() . ' (' . $contact->email() ') . ' — '
. $contact->address()
. $contact->city()
. $state
. $country; ?></li>
renefi
May 16, 2017 at 1:39 am
Add New Note to this Reply
great thank you. I have never ever found so much support with any other plugin.
Rene
Tony
May 16, 2017 at 9:36 am
Add New Note to this Reply
You’re most welcome and thank you for the feedback.
If you have a minute we’d really appreciate if you could share your Event Espresso experience, we have some example of how you can do this here:
https://eventespresso.com/recommend-event-espresso/