Events are not displayed only by a specific user
-
Three users are registered on the site, each of which has entered its event.
I want to display events of only user # 2 (MEC).
1st screenshotI posted a shortcode [events_calendar full=1] on the page.
2nd screenshotI used the modified template in the theme folder to change the calendar and wrote array(‘owner’=>2, …).
3rd screenshot
4th screenshotBut events are not displayed only by a specific user (#2 МЕС). Unfortunately the shortcode on the page displays all events other users.
5th screenshotIs it possible, for example, to create a global variable for your plugin, which would contain the current user ID and use it to select the events of this current user in shortcodes and in widgets?
Please make an option for an individual display of the event of the current user.
- The topic ‘Events are not displayed only by a specific user’ is closed to new replies.