(Free) Event Custom Booking Link

Description: adding second custom button next to view event button in Event Overview Page

Event Custom Booking Link

#1. Install code

Click Gear icon on Event Page

Event Custom Booking Link

Next, click Advanced > Page Header Code Injection

Event Custom Booking Link

Paste this code

<script>
window.eventButtonConfig = {
    buttonText: 'Book Now →',
    openInNewTab: true
};
</script>
<script src="https://code.beaverhero.com/event/eventcustomlink.js"></script>
<style>
a.eventlist-button {
    margin-top: 10px;
    margin-right: 10px;
}
</style>

(free) event custom booking link 1

#2. Usage

Click on each event item > Click Settings

Event Custom Booking Link

Enter desired url in Source URL

Event Custom Booking Link

#3. Customize

#3.1. To change button text, you can change this line.

buttonText: 'Book Now →',

#3.2. To make button open in same tab, you can change this line, from true to false

openInNewTab: true

#3.3. To change button style to solid color, like this.

Event Custom Booking Link

You can use this code to Custom CSS.

a.custom-booking-link {
   background-color: #8a3f24 !important;
   color: #fff !important;
}
a.custom-booking-link:hover {
   background-color: #fff !important;
   color: #8a3f24 !important;
}

Event Custom Booking Link

Buy me a coffee