Timeline Template Style 3: more link and remove comma
-
Thanks for coding such a great plugin. I’m using the timeline template style 3 as used here at bottom of the linked page. Would you mind helping me with two queries:
1: how do I remove the comma after Leisure Valley? Its always getting added to the venue name.
2: “Find out more>>” Is it possible to customise the target for each event? On our site, most “Find out more” will link as per default to the events details page on the same domain, but I would also like to list external events in the timeline overview and set the “Find out more” link to an external website. I’ve tried to modify the timeline-template php to the following after creating a custom field on the single events page:
$customurl = get_post_meta( get_the_ID(), 'eventcustomurl', true); $events_html .= '<a href="' . $customurl . '" class="ect-events-read-more" rel="bookmark">'.esc_html__( 'Find out more', 'the-events-calendar' ).' »</a>'; $events_html .= '</div>';
but this does not work.
Thank you,
- The topic ‘Timeline Template Style 3: more link and remove comma’ is closed to new replies.