Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Edit 'Event Summary' to have a login button | Event Espresso - Staging Server

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

  • Support Staff

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 :D 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 - Staging Server