Hide Ticket if Event is Password Protected – Genesis

Home Forums Calendar Products Events Calendar PRO Hide Ticket if Event is Password Protected – Genesis

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1247670
    Chris Blair
    Participant

    We have VIP events that we would like to allow access to only with a password. When we set the event to password protected the Ticket and Event Details still show.

    The site is built in with Genesis.

    Use Woo for purchases.

    How do we hide the tickets.

    https://www.listeningroomcafe.com/show/test-event/

    PW – test

    #1247939
    Chris Blair
    Participant

    I was able to solve this problem by wrapping the tickets.php template with the following code.

    <?php if( !post_password_required( $post )): ?>
    
      <?php endif; ?>

    My next issue is where I should place the template so I does not get over written.

    “wp-content/plugins/event-tickets-plus/src/views/wootickets/tickets.php”

    is the current location.

    What is the current path.

    #1248490
    George
    Participant

    Hey Chris,

    Thanks for the update, glad you’re making progress.

    Just to set expectations, we cannot help at all when it comes to modifying the look or behavior of our plugins, as elaborated upon here: https://theeventscalendar.com/knowledgebase/what-support-is-provided-for-license-holders/

    This includes template modifications and CSS tweaks and everything in between.


    In regards to your question about where to put the modified view file so you don’t lose it, please use the methods in our Themer’s Guide ? https://theeventscalendar.com/knowledgebase/themers-guide/

    Using those methods, you can place that file in your theme in this location: tribe-events/wootickets/tickets.php.

    Consult that Themer’s Guide for more information and keep backups of all your code — customized code or not — even if you use the themer’s guide template methods.

    Best of luck with your customizing!
    George

    #1259610
    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 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Hide Ticket if Event is Password Protected – Genesis’ is closed to new replies.