Password Protect Events Page

Home Forums Calendar Products Community Events Password Protect Events Page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1047572
    Robert
    Participant

    Hey all,

    Is there a way that we can password protect the events page? I know you can password protect default WordPress pages, however the calendar doesn’t create a page in WordPress, rather it creates its own slug.

    Any clue how I could do this?

    #1047868
    Geoff
    Member

    Hi Robert,

    One way to do this would be to use a template override (more on this in our themer’s guide) on the default-template.php file to wrap the calendar content in a conditional statement that only displays the calendar if a user is logged into your site.

    Here is how the code would look for the template:

    https://gist.github.com/geoffgraham/48c0059424027dbea142

    Does this help get you started? Please let me know. 🙂

    Cheers!
    Geoff

    #1047950
    Robert
    Participant

    Thanks a bunch. I was going this route in the first place but I wanted to see if there was a different way.

    #1048196
    Geoff
    Member

    Awesome! Thanks for following up. 🙂

    I’ll go ahead and close this thread but please do feel free to hit us with a new one of any other questions pop up–we’d be happy to help..

    Cheers!
    Geoff

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Password Protect Events Page’ is closed to new replies.