• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Menu
  • Back to Top
  • Services
    • Web Design
    • Graphic Design
    • Web Hosting
  • Portfolio
  • Pricing
    • FAQ’s
  • About Me
    • Blog
    • Contact

How to Remove the Text Bubble and Center on the Map Marker in Events Manager

US Map with marker on PA

January 25, 2018Dan BrubakerComment

The Events Manager plugin by Marcus Sykes is one of the best solutions available for managing events on your WordPress website. It is simple for the average user to setup and developers will love its flexibility.

However, modifying the Google Map integration to look just the way you want it can be a headache. Here’s a quick look at how to adjust the map’s default zoom level, remove the text bubble, and center the map on the event’s location marker.

To accomplish all these tasks you’ll have to add some jQuery to your site.

If it doesn’t already exist, start by creating a folder called “js” in your theme folder. This is purely for organization. In your “js” folder, create a text file called “events-manager-map.js” and paste it inside this code:

https://gist.github.com/danbru1989/a1f1516ffe12f51b2517a897fae044ca#file-events-manager-map-js

This snippet sets the Google Map’s zoom level to 4, closes the text bubble, and re-centers the map on the marker. The script will not run on your page until you tell WordPress to enqueue it. Add this code to your theme’s functions.php file to make it happen.

https://gist.github.com/danbru1989/a1f1516ffe12f51b2517a897fae044ca#file-functions-php

That’s it!

If you would like to change the style of the map itself, be sure to check out Snazzy Maps and follow the instructions here for map styling.

Please comment below if you have any other tips for modifying Event Manager’s map integration!

Filed Under: Tips & Code Snippets

About Dan Brubaker

I am a husband, father, evangelist, web designer, and sometimes farmer. My family and I live full-time in an RV and travel around representing Servant's Heart Camp. My workspace is small, but the window view is great!

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Contact Me

  • (717) 991-1426
  • danbru@gmail.com

Mailing Address:


5050 Colebrook Road
Hershey, PA 17033

RSS Ministry Updates

  • Ministry Changes & Moving November 4, 2020
  • Revival Ministry and HFA Crusade September 23, 2020
  • Attend Our Online Rally! April 16, 2020
  • Winter Ministry & Outreach February 11, 2020
  • Happy New Year! January 1, 2020
  • Last Meeting And Winter Work November 18, 2019
  • Continued Fall Revival Meetings November 4, 2019
  • Visiting The Quecreek Mine Rescue October 14, 2019
  • Menu
  • Back to Top
  • Services
    • Web Design
    • Graphic Design
    • Web Hosting
  • Portfolio
  • Pricing
    • FAQ’s
  • About Me
    • Blog
    • Contact

    Services

  • Web Design
  • Graphic Design
  • Web Hosting

    Information

  • About Me
  • Portfolio
  • Pricing
  • Privacy

    Contact Me

  • (717) 991-1426
  • danbru@gmail.com
Log In
Copyright © 2023 — Brubaker Design Services