Other Documentations

CODE: To add additional healthcare guidelinesHow to add new social share iconsHow to change "events" slug & rewritesHow to customize the eventtop date formatHow to hook into eventTopHow to increase event type category countHow to load EventON scripts to a pageHow to show additional custom data in the eventCard** How to use event_type to do moreCODE: To add additional healthcare guidelinesHow to activate EventONHow to Add Variations to Booking BlocksHow to apply a patch fixHow to cancel addon subscription before auto renewHow to deactivate EventON Addon LicensesHow to find your EventON license key (Purchase key)How to fix breaking sidebar by eventon widgetHow to get new auto updates for EventONHow To Hide Blank Rows On the Calendar EventTopHow To Install and Use the Include Anything AddonHow To Install and Use the Moon Data AddonHow To Set Up and Use the Filter Bar on CalendarsHow to Set Up Health Guidelines for EventON and Extend ItHow To Set Up Virtual Events with Jitsi™ MeetHow to setup & use custom fields for eventsHow to setup & use multi data typesHow to Setup Basic Paypal for EventsHow to show past eventsHow to show your calendar on external sites using an iFrameHow To Turn on Sort Options On Your CalendarHow To Upgrade Your EventON Addon LicenseHow to Use Hashtags to Link to Event SectionsHow to Use the Autogenerator to Create Booking BlocksHow To Use the EventON Shortcode Executor(ESE) WidgetHow To Use The EventTop DesignerHow To Use WebhooksHow To Use Webhooks in EventON with RSVP Trigger EventsUsing an SMTP Mail Plugin To Solve Email Delivery Issues in EventON

CODE: To add additional healthcare guidelines

May 26, 2022

NOTE: All the code below can be added into functions.php file in the theme or as a plugin.

Add select option in event edit meta box

Below pluggable code will add the yes/no check box field into the healthcare guidelines section in the event edit page. So for every event this can be selected easily on the go.

Above code will add the “Negative Test Required” yes/no field into the meta box as below.

To show this on frontend

Below code can be modified as you wish to show the healthcare information on the event frontend. In the below case we are using “thermometer-half” as the icon symbol to go along with this. This can be customized using any of the other supported font awesome icons that comes pre-loaded with eventON.

Above code (if enabled within the event) will show the information on event frontend as below.


Translate Front-end String

With EventON version 4.0.7 you can use the below code the translate the custom healthcare guide item text via EventON Language values.



Did this article help you? If not, send us a ticket via helpdesk

Ready to setup your calendar?