hi,
you can try to use shortcode like
[events_list limit=10 pagination=1 owner=”X” scope=”future” ] where X is the user id
Thread Starter
Dirk
(@dirkhag)
Hi,
thank you. The Shortcode does not help. I need the structure of the link corse I intend to incorporate the link into a users profile, so that visitors of the user’s profile can see all the events he has organized.
Thank you.
just to confirm, did you mean events list using php code?
Thread Starter
Dirk
(@dirkhag)
Yes,
I have created a template but don’t know, how to pass the variables of EM to it.
There is a profile page of each registered user. This is done by extension of WP MEMBERS.
In the profile page, I have implemented a button, when you click on it, a page with the template code will open, listening all the events of the user. This is theory but not working as I don’t know how to pass the user ID to the template.
Cheers, Dirk
just to confirm, you’ve wanted to add the event to the profile of the event owner? and you modified template file templates/events-list.php ?
Thread Starter
Dirk
(@dirkhag)
No, I didn’t modify the template. I am using the template of “WP Members userlist”. There are some basic data of an user, e.g. Name, Mailadress, avatar, etc. There I want to integrate a link leading to his organized events.
Thread Starter
Dirk
(@dirkhag)
You can close this thread. Meanwhile I have found a way how to do it. If anyone is interested in this, please contact me.
Cheers,
Dirk