Home › Forums › Calendar Products › Events Calendar PRO › Hide Ticket if Event is Password Protected – Genesis
- This topic has 4 replies, 4 voices, and was last updated 7 years, 1 month ago by Chris Blair.
-
AuthorPosts
-
March 1, 2017 at 8:31 am #1247670Chris BlairParticipant
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
March 1, 2017 at 12:45 pm #1247939Chris BlairParticipantI 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.
March 2, 2017 at 9:53 am #1248490GeorgeParticipantHey 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!
GeorgeMarch 24, 2017 at 9:35 am #1259610Support DroidKeymasterHey 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 -
AuthorPosts
- The topic ‘Hide Ticket if Event is Password Protected – Genesis’ is closed to new replies.