How to create a private, public or password protected event in front

Home Forums Calendar Products Events Calendar PRO How to create a private, public or password protected event in front

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1113659
    Cesar
    Participant

    Hi guys.

    Something I think is useful in TEC is the ability to create private, public or password protected events. I do know it is possible through wp-admin, however, do you have any code to do that in front?

    Which variables are affected?

    Thank you very much.
    Cesar

    #1113728
    Nico
    Member

    Hi Cesar,

    Thanks for getting in touch! I’ll help you here…

    First of all let me say that’s a WordPress default functionality and nothing special we are doing. Basically Events are inheriting this from Posts.

    Do you have any code to do that in front? Which variables are affected?

    Are you referring to adding this to the Community Events submission form? If that the case there’s no easy way to add this option. You would need to add the fields to the form and then add some coding as well to set the desired visibility to the post.

    Please let me know if this answers your question,

    Best,
    Nico

    #1116641
    Cesar
    Participant

    Thank you.

    My mistake 🙂

    #1116779
    Nico
    Member

    No problems Cesar. Thanks for the heads-up!

    I’ll go ahead and close out this thread, but if you need help with anything else please don’t hesitate to create a new one and we will be happy to assist you.

    Best,
    Nico

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘How to create a private, public or password protected event in front’ is closed to new replies.