• Resolved jurvrn

    (@jurvrn)


    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 screenshot

    I posted a shortcode [events_calendar full=1] on the page.
    2nd screenshot

    I used the modified template in the theme folder to change the calendar and wrote array(‘owner’=>2, …).
    3rd screenshot
    4th screenshot

    But events are not displayed only by a specific user (#2 МЕС). Unfortunately the shortcode on the page displays all events other users.
    5th screenshot

    Is 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.

Viewing 7 replies - 1 through 7 (of 7 total)
Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Events are not displayed only by a specific user’ is closed to new replies.