Home › Forums › Calendar Products › Events Calendar PRO › Custom link for event in Venue page
- This topic has 4 replies, 2 voices, and was last updated 14 years ago by
Leah.
-
AuthorPosts
-
October 17, 2012 at 10:38 am #26761
ML
ParticipantI use single-venue.php to display a list of events. How can I use a custom link for the title of each event on that page? The custom link could be added to the event as an additional field.
October 18, 2012 at 9:58 am #26797ML
ParticipantThe goal is to use custom links rather than the default (link to the single event) for the event titles that are displayed in any event list ( upcoming events list, list of events for a venue, or a category, etc). I have a page for each event (in this case the events are courses with many options) with the ability to purchase the course, so I would just like to link directly from the event title to the specific page for each course rather than having to add a button in the event description.
October 18, 2012 at 11:55 am #26802Leah
MemberHey ML,
Sorry my initial post got deleted. Thanks for clarifying. So you’d like Event titles to link to a WordPress page rather than the built in Event page that is default, right? And were you looking to do that on just the Venue page, or in all listing of the Event title?
I’m going to look into this possibility and I’ll get back to this afternoon. Thanks for your patience!
~Leah
October 18, 2012 at 12:36 pm #26805ML
Participantall listings – thanks
October 18, 2012 at 2:10 pm #26825Leah
MemberThanks for clarifying, ML. I believe this is possible by doing template overrides on all of the views that include the event title. You can read more about template overrides here: https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/#views
For this particular change, take a look at this thread: https://theeventscalendar.com/support/forums/topic/clicking-event-title-link-on-the-upcoming-events-page/
The user there wanted to remove the Event title link from the list view. You could use a similar method (but different code) to go in and change the link that gets called. To change that in all listings of the Event title would require going through the various relevant views and changing them all to match.
I’m sorry I can’t provide a simpler solution, but I hope you’re able to achieve what you’re looking for.
Good luck!
Leah -
AuthorPosts
- The topic ‘Custom link for event in Venue page’ is closed to new replies.
