Home › Forums › Calendar Products › Events Calendar PRO › Disable Single Event Link
- This topic has 5 replies, 2 voices, and was last updated 7 years ago by Lindsey.
-
AuthorPosts
-
March 25, 2017 at 7:23 pm #1260140LindseyParticipant
I’m trying to disable the single event link via the calendar. On the calendar, I want the user to be able to “hover” the event title and see the “popup”, but not be permitted to “click” on the event title and go to the single event. How do I do this?
Thanks!
March 27, 2017 at 8:01 am #1260380VictorKeymasterHi Lindsey!
Thanks for reaching out to us and for using our plugins! 🙂
Unfortunately, there is no built in way to do this, so you would have to do a customization to achieve that.
While we are limited in the support we can give on customizations, we do like helping out, so I will point you in the right direction to achieve that.
You can do a template override by doing this:
- Copy the content of the template file located in /wp-content/plugins/events-calendar-pro/src/views/month/single-event.php
- Create a folder in your theme’s folder named tribe-events and inside it another folder named month.
- Inside that month folder, create a file called single-event.php and paste all the content from the file before.
Then, you should modify this file code by changing line 196 and eliminating the ‘a’ tag like this
<h3 class="tribe-events-month-event-title"><?php echo $title ?></h3>
There is a great Themer’s Guide you should check out here > https://theeventscalendar.com/knowledgebase/themers-guide/
I hope that helps! Let me know if other questions.
Best!
Victor
March 29, 2017 at 8:39 pm #1261835LindseyParticipantHello!
Thank you for the wonderful instructions – the path you provided me I can
follow up until “views” then I get a folder called “pro”… and inside
“pro” I get several files and folders but non of them are listed as “month”.Please look at the attached print screens.
Thank you!
Lindsey
—
Lindsey A. Marshall
Swink Creative Solutions
P: 308.210.2077
[email protected]
http://www.SwinkCreativeSolutions.com
http://about.me/lindseymarshallMarch 30, 2017 at 9:07 am #1261987VictorKeymasterHi Lindsey!
I’ve just realised I gave you the wrong path. This is the one you should look at > /wp-content/plugins/the-events-calendar/src/views/month/single-event.php
I did not get the screenshots, but that’s not necessary for the moment.
Let me know how that works for you.
Best!
Victor
April 21, 2017 at 9:35 am #1272744Support 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 ‘Disable Single Event Link’ is closed to new replies.