Can I exclude private events in events-list-load-widget-display.php TEC Pro 2.x?

Home Forums Calendar Products Events Calendar PRO Can I exclude private events in events-list-load-widget-display.php TEC Pro 2.x?

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #109507
    Mike
    Participant

    I can’t upgrade my TEC Pro until you guys add in attendee names/emails to wootickets, so I can’t upgrade to 3.x yet. So in ver 2.x, is it possible to exclude private events from appearing in the upcoming events widget? And for that matter, the next event widget as well?

    Thanks for your time.

    #109730
    Kelly
    Participant

    Hi, talanithus. Great question! 🙂

    This isn’t something that’s currently baked in, and I’m not really sure about snippet’s working with the 2.x versions. That said, you could try modifing the following example, which hides events based on the current users role, to hide events from the widget based on their published state. http://pastebin.com/JyePZWpt

    Hope that helps!

    #110104
    Mike
    Participant

    What about password protected events? Is there anything setup for that?

    #110331
    Kelly
    Participant

    Hi, talanithus. I would recommend tweaking that same snippet for all three visibility states. 🙂

    #118780
    Kelly
    Participant

    Hi, talanithus. As it’s been a couple of weeks now, I’m going to close this thread. Please start a new topic if you’d like to pursue this further.

    Thanks for being a TEC user! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Can I exclude private events in events-list-load-widget-display.php TEC Pro 2.x?’ is closed to new replies.