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
Remove View Details | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Remove View Details

Remove View Details

Posted: November 18, 2013 at 6:24 am

Viewing 1 reply thread


Ryan R

November 18, 2013 at 6:24 am

How do you Remove View Details on the event registration page so it just have the Add to cart link.


Anonymous

November 18, 2013 at 6:39 am

Hi Ryan,

The is no option to remove ‘View Details’ from the Event List page.

This would need to be through modifying the templates.

If you copy event-espresso/templates/event_list.php & event_list_display.php to wp-content/uploads/espresso/templates and edit there files there the modifications will not be lost during updates.

Open up the new event_list_display.php file on line 135 comment out:

'separator' => __(" or ", 'event_espresso')

so it becomes

//'separator' => __(" or ", 'event_espresso')

On line 158 you should see:

<a class="a_register_link ui-button ui-button-big ui-priority-primary ui-state-default ui-state-hover ui-state-focus ui-corner-all" id="a_register_link-<?php echo $event_id ?>" href="<?php echo $registration_url; ?>" title="<?php echo stripslashes_deep($event_name) ?>"><?php _e('View Details', 'event_espresso'); ?></a> <?php echo isset($cart_link) && $externalURL == '' ? $cart_link : ''; ?>

Remove all but the

<?php echo isset($cart_link) && $externalURL == '' ? $cart_link : ''; ?>

So line 157-159 reads:

<p id="register_link-<?php echo $event_id ?>" class="register-link-footer">
				<?php echo isset($cart_link) && $externalURL == '' ? $cart_link : ''; ?>
			</p>
Viewing 1 reply thread

The support post ‘Remove View Details’ 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