This can be done by relocating one of the templates and making a change to a line of code. This will ensure that your customization is not lost on a software update. Here are the steps:
-
Login to your WordPress root with your preferred SFTP or FTP client. Using a Mac? Try Transmit. Filezilla and Cyberduck are free options.
-
Browse to this location:
/eea-events-table-view-template/templates
You'll see two files there:
espresso-events-table-template-toggle.template.php
espresso-events-table-template.template.php
-
Download a copy of those files above to your computer
-
Now browse to your child theme:
/wp-content/themes/name-of-your-child-theme
Not using a child theme? A child theme allows you to customize your WordPress theme without losing customizations when you update your theme through WP. Here is how to setup a child theme.
-
Upload the two files that you downloaded earlier to the location above
-
Open the espresso-events-table-template.template.php file for editing
At about line 95 you'll see this line of code:
<td class="event_title event-<?php echo $post->ID; ?>"><?php echo $post->post_title; ?></td>
- Replace the line above with this:
<td class="event_title event-<?php echo $post->ID; ?>"><a href="<?php echo $registration_url; ?>"><?php echo $post->post_title; ?></a></td>
Then save changes.