Home › Forums › Calendar Products › Events Calendar PRO › Disable Link of Upcoming Events Title
- This topic has 8 replies, 2 voices, and was last updated 8 years, 3 months ago by
venthi76.
-
AuthorPosts
-
January 20, 2018 at 5:33 pm #1431600
venthi76
ParticipantHi,
I need to link-ed”Upcoming Events” in title to be removed. How to achieve this. Tried browsing through the template files etc but cannot find a file where i can edit this. Please assist.
Url given in private reply.
Thanks.
January 20, 2018 at 5:36 pm #1431601venthi76
ParticipantThis reply is private.
January 22, 2018 at 2:05 pm #1432911Geoff B.
MemberGood evening Thirukumary and welcome back!
Thank you for reaching out to us.
I would love to help you with this topic.The simplest way to achieve this would be to create a customization for the single event view (template override).
In fact we have built our calendar in a way that makes this relatively straightforward.
You might want to read our Themer’s guide to get a sense of how that works.Let me know how that goes.
Best regards,
Geoff B.January 22, 2018 at 6:04 pm #1433085venthi76
ParticipantHi,
Gone through the template file at /photo/content.php and I believe the Title and Link is called via the following link below copied from content.php

The problem is I am not sure how to edit since the the linking is not done via normal “a href” but via the function. Appreciate if you can assist.
Thanks.
January 22, 2018 at 6:11 pm #1433093venthi76
ParticipantSnapshot of the code can be viewed here as i was having hard time to post it as code – https://www.dropbox.com/s/em4fwgxfj6bxk16/content.jpg?dl=0
-
This reply was modified 8 years, 3 months ago by
venthi76.
January 23, 2018 at 8:41 pm #1434299Geoff B.
MemberGood evening,
Thank you for writing back.
You have found the perfect function.It can be altered using the following conditional.
if ( is_tax( $tribe_ecp->get_event_taxonomy() ) && $depth )Look at the following snippet for inspiration: https://gist.github.com/andrasguseo/53b0f71f7545f19ef7c70aa101516501
More specifically, lines 72 to 76. If you remove the <a> link and echo only the title, that should work.
Let me know if that helps.
Have a great day!
Geoff B.
January 23, 2018 at 10:18 pm #1434329venthi76
ParticipantThanks Geoff B.
That solution solved the issue and gives me more insight of things that can be changed.
January 24, 2018 at 9:50 am #1434849Geoff B.
MemberGood afternoon,
I am super stoked that you were able to achieve your goal and that you learned a couple of things along the way.
You are welcome back in our support forums any time 🙂
For now, I am going to close this thread.
Have a great week!
Geoff B.
-
This reply was modified 8 years, 3 months ago by
-
AuthorPosts
- The topic ‘Disable Link of Upcoming Events Title’ is closed to new replies.
