- This topic has 1 reply, 2 voices, and was last updated 13 years, 5 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Conditional tags in content of a page
Tagged: user_registered_only
I’m using the shortcode [events_list user_registered_only=1] in a page to show the events a registered user is registered for. But if the user is not logged in, the complete list of events is shown… not good.
How can I make it so that when the user isn’t logged in to WP, no events are shown, and once logged in, only that users’ events are shown?
And what defines “that users’ events”? When he can’t see any events because he’s not registered, he won’t be able to register for those events.
If you want to play with what is being shown, use the filters: http://www.e-dynamics.be/wordpress/?cat=41