Support

Home Forums Event Espresso Premium Edit 'Event Summary' to have a login button

Edit 'Event Summary' to have a login button

Posted: April 7, 2014 at 9:14 pm

Viewing 2 reply threads


Tony Ingold

April 7, 2014 at 9:14 pm

Hello

Do you know how I can edit the Event List page to have a login button on each ‘Event Summary’?

I am unable to embed images in this post so I’ll post a link to an image that shows what I am trying to achieve: http://i61.tinypic.com/15o9zdw.jpg

I am trying to place a ‘Login’ link inside that yellow circle.

Any advice would be extremely helpful.


Dean

April 8, 2014 at 1:09 am

Hi,

Easiest way to do it is to edit the event_list_display.php template file.

Start by copying BOTH the event_list.php and event_list_display.php from event-espresso/templates/ over to wp-content/uploads/espresso/templates/

Edit the file there. On line 146 you should see a line that says

echo '<p class="ee_member_only">'.__('Member Only Event', 'event_espresso').'</p>';

I would change it to something like

echo '<p class="ee_member_only">'.__('Member Only Event', 'event_espresso').'<span style="float:right"><a href="' .  wp_login_url() . '" title="Login">Login</a></span></p>';

You may want to change the line style to a class and style it in your CSS file.


Tony Ingold

April 8, 2014 at 6:52 pm

Thanks 😀 Very helpful instructions

Viewing 2 reply threads

The support post ‘Edit 'Event Summary' to have a login button’ 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