Show / Hide Front RSVP section for members/non-members

Home Forums Welcome! Pre-Sales Questions Show / Hide Front RSVP section for members/non-members

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1199672
    Julien
    Guest

    Hi,

    Is it possible ton hide the RSVP section for non logged users ?
    And showing it only for members (logged users) ?

    Thank you.

    #1199844
    Geoff
    Member

    Hi Julien,

    Yes, it is possible to do that, but does take a little bit of custom development to make it happen.

    You would override the template for the ticket form (more on template overrides in our <u>Themer’s Guide</u>) and wrap the code for the form in something like this:

    if ( is_user_logged_in() ) {
    // code for the ticket form
    } else {
    // your code for logged out user
    }

    Cheers!
    Geoff

    #1209517
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Show / Hide Front RSVP section for members/non-members’ is closed to new replies.