So I purchased the PRO version. Now I need to create a link for each venue dynamically on their wc-vendors profile. Basically, it will consist of a button that will take users to that particular venue’s list of events. Now, Is this something that can be done by “community + PRO events” with shortcodes or do I need to customize that code? I was thinking to create a link like this on each vendors profile page :
<a href="<?php echo $venue_events_list_link; ?>" class="button">Events</a>
Now, there is a this function on template-tags.php
`function tribe_community_events_list_events_link() {
$url = tribe( ‘community.main’ )->getUrl( ‘list’ );
return apply_filters( ‘tribe-community-events-list-events-link’, $url );
}’
Which I assumed it is the one that makes this possible? or there is another line of code that creates the URL for listing events?
My idea was to assign the function above to the variable $venue_events_list_link, but it didn’t work…
Ah! obviously, the URL that I want to redirect when clicking is “/events/community/list”
I left you the URL to the staging site below, the login is user: flywheel and pass: many-armadillo.
please Cc the answer if possible to my developer Alvaro at [email protected]
Thanks!!