Mobile Call Now & Map Buttons

Опис

Mobile Call Now & Map Buttons adds a sticky mobile contact bar with optional Call Now and Directions buttons. It is useful for local businesses that want mobile visitors to call or open directions quickly.

Features

  • Add a mobile Call Now button using a phone number.
  • Add a Directions button using a street address or GPS coordinates.
  • Add an optional Google Place ID for a more precise Google Maps destination.
  • Customize bar background, button colors, and button text.
  • Choose the maximum device width where the buttons appear.
  • Optional z-index and append-to-body settings for theme compatibility.

Снимци екрана

  • Settings page.
  • Mobile contact bar with Call Now and Directions buttons.

Постављање

  1. Upload the plugin files to the /wp-content/plugins/mobile-call-now-map-buttons directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the Plugins screen in WordPress.
  3. Go to Settings > Mobile Call Now & Map Buttons to configure the plugin.

ЧПП

How is the maps button created?

The location is built with a Google Maps URL. Your entered location values are constructed using either the address fields or GPS coordinates. If you add a Google Place ID, the plugin appends it to the Maps URL to help Google identify the exact destination.

What format should I use for GPS coordinates?

Use decimal degrees format, such as 50.6745 for latitude and -120.3273 for longitude. Do not enter degree symbols or N/E/S/W letters.

Why are the buttons hiding my footer?

This is usually a theme CSS conflict. Try adjusting the z-index setting or enable the append-to-body option.

What does the number sanitizing option do?

By default, the plugin cleans the phone number for safer and more consistent tel: links. Enable this option only if your phone number format must be preserved.

Прегледи

14. јануар 2019.
This plugin makes it very easy without problems. Nice work and nice support. Thanks for all
13. јун 2018. 2 одговора
Does what it is supposed to but could be much better. The text size is not optimized for the smallest screen width (320px). At this size, the text from the „Directions“ button get’s pushed below the button background because there isn’t enough width for the text and the icon on the button. So I had to write new CSS to make the font-size on the buttons smaller. I think this is a big issue because this plugin is made to improve mobile UX, but it end ups looking like poor development on the smallest phones. Also, the map should open in a modal or something. Right now it opens in a new window which will see some traffic leave the original site completely.
21. мај 2018.
Mobile Call Now buttons is a great plugin, I really enjoyed using it and better than other competition
24. март 2018.
Stupidly simply configuration. It just works and does exactly what I want. Thank you!!!
Види свих 19 прегледа

Сарадници и градитељи

„Mobile Call Now & Map Buttons“ је софтвер отвореног кода. Следећи људи су допринели овом додатку.

Сарадници

Преведите „Mobile Call Now & Map Buttons“ на свој језик.

Заинтересовани сте за градњу?

Прегледајте код, проверите SVN складиште или се пријавите на белешку градње преко RSS-а.

Белешка о изменама

1.6.2

  • Fixed front-end output logic so the plugin can display Call Now, Directions, or both buttons depending on configured settings.
  • Improved validation for phone, address, GPS, and Google Place ID values.
  • Additional security hardening for CVE-2023-24401 by sanitizing stored settings and escaping admin/front-end output.

1.6.1

  • Added optional Google Place ID support for map destinations.
  • Added admin help links for Google Place ID documentation and the Place ID finder.
  • Updated Google Maps URL generation to use the Maps Directions URL format.

1.6.0

  • Security hardening release.
  • Added settings sanitization callback.
  • Escaped admin and frontend output.
  • Restricted settings page access to administrators using manage_options.
  • Updated frontend link handling for tel: and Google Maps URLs.
  • Updated JavaScript to use current jQuery patterns and removed debug logging.
  • Updated plugin headers for current WordPress and PHP compatibility.

1.5.0

  • Readme and documentation change.
  • Added PHP version requirement.

1.4.2

  • Minor change to initialization.

1.4.1

  • Fixed CSS where one-button use could result in an off-center button.
  • Added direct file access protection.