Support

Home Forums Event Espresso Premium Add Event Name Link

Add Event Name Link

Posted: February 20, 2018 at 4:43 am

Viewing 6 reply threads


Devaraj

February 20, 2018 at 4:43 am

Hi, is it possible to change the event name into a link to the event? We’re using the Events Table View Template Add-on.

See this screenshot: http://prntscr.com/ih9yzo

If anyone can help us with this, that would be so much appreciated. Thank you!


Tony

  • Support Staff

February 20, 2018 at 5:34 am

Hi there,

Yes it is possible, however it requires working knowledge of PHP and FTP to set it up, are you comfortable with both?


Devaraj

February 21, 2018 at 5:14 am

Hello Tony,

Thank you for your reply.
Do you have any idea on how to do it? After that, we can add the code on the site if you can help us with that.
We thought we just missed settings on the event table to make this feature possible.

Thank you!


Tony

  • Support Staff

February 21, 2018 at 5:51 am

Yes, I know how to do it but simply giving you the code isn’t going to help if you don’t know how to apply it and we don’t usually provide support for customisations (we are happy to point you in the right direction but we can’t support the customization itself).

Within \plugins\eea-events-table-template\templates\

You’ll find a template file called espresso-events-table-template.template.php

Copy that to the root directory of your theme (preferably a child theme).

On line 113 you’ll have this:

<td class="event_title event-<?php echo $post->ID; ?>"><?php echo $post->post_title; ?></td>

Change that to:

<td class="event_title event-<?php echo $post->ID; ?>"><a href="<?php echo $registration_url; ?>"><?php echo $post->post_title; ?></a></td>

That will make the event title a link to the event which is the same link used for the ‘register now’ link.

We thought we just missed settings on the event table to make this feature possible.

No, you haven’t missed any part of the settings, its not available by default πŸ™‚


Devaraj

February 23, 2018 at 6:22 am

Hello Tony!

Genius! That’s was very helpful! It is now working. Thank you very much for all your help! We can mark this done now.

Have a nice weekend!


Tony

  • Support Staff

February 23, 2018 at 7:19 am

You’re most welcome and the same to you πŸ™‚


Devaraj

February 26, 2018 at 6:24 am

All is good now. We can close this ticket. Thank you very much for your help! πŸ™‚

Viewing 6 reply threads

The support post ‘Add Event Name Link’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso