Display Event Location for The Events Calendar

from 0$

Display Event Location for The Events Calendar is a WP Plugin Package from the Open Source WP Plugins range This plugin works with The Events Calendar by Modern Tribe. It changes the popup on…


For more information about a tailored WP Plugin Package like Display Event Location for The Events Calendar please contact us directly.

This plugin overrides the template for the tooltip that is displayed when a user hovers over an event on the month display of The Events Calendar and The Events Calendar Pro. The name of the event’s venue/location that is entered with the event will be displayed under the date and time that the event occurs. The full street address for the location can also be enabled to be displayed directly underneath the name of the venue of the event. The venue/location name and address are pulled in from the events system itself for each individual event. All of the other elements of the tooltip remain unchanged.

The Events Calendar and The Events Calendar Pro are WordPress plugins developed by Modern Tribe.

Arbitrary section

CSS Classes:

  • .deltec-tooltip-message – A div or paragraph element that surrounds all of the information that is added to the tooltip by this plugin. Note: For the new v2 calendar views available in The Events Calendar v5.0+ this class is defined by a paragraph element. For the legacy calendar views, this class is represented by a div element.
  • .deltec-location-name-prefix – A span element that surrounds the prefix message that you can set in the Display Event Location for The Events Calendar settings area in the textfield labeled Tooltip Message Before Venue/Location Name
  • .deltec-location-name – A span element that surrounds the name of the event’s venue/location name.
  • .deltec-street-address – A span element that surrounds the all elements of the street address for the event’s venue/location (if enabled in Display Event Location for The Events Calendar settings area)

Github Repository

  • The Github Repository can be found here.

References:

Below are resources and references that were used to help develop parts of this plugin.

  1. https://support.theeventscalendar.com/153124-Themers-Guide
  2. https://docs.theeventscalendar.com/reference/hooks/tribe_events_template_data_array/
  3. https://docs.theeventscalendar.com/reference/hooks/tribe_template_theme_path_list/
  4. https://docs.theeventscalendar.com/reference/functions/tribe_address_exists/
  5. https://docs.theeventscalendar.com/reference/functions/tribe_get_full_address/
  6. https://theeventscalendar.com/knowledgebase/k/custom-additional-template-locations/
  7. https://gist.github.com/cliffordp/b76421f2490a8b8995493f203e11b331

Special Thanks:

A special thank you to user @cliffordp on Github for several helpful gists that were used as boilerplates to achieve certain functionality within this plugin.

Thank you to Danielle Attinella for her amazing work on designing a new icon and banner image for the plugin. Her work is simply superb!

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

Display Event Location for The Events Calendar

typePlugin
version3.3.2
descriptionThis plugin works with The Events Calendar by Modern Tribe. It changes the popup on the month view to include the event's location within the pop …