=== Mobile Call Now & Map Buttons === Contributors: davidsword, roimediaworks Donate link: http://www.redcross.ca/donate/ Tags: mobile, cell, responsive, buttons, phone, call, contact, map, location, directions, customize, call us, phone now, get directions Requires at least: 4.0 Tested up to: 4.8 Stable tag: 1.2 License: GPLv3 Adds custom "Call Now" and/or Google "Directions" buttons for mobile visitors. == Description == Adds custom "Call Now" and/or Google "Directions" buttons for mobile visitors. Easily customize the bar, the buttons background and text colours. Set which device size range the buttons should appear. *New plugin, recently revived: please open a support request before leaving a bad review, we're happy to help fix any issues and help the plugin grow and be more universal.* == Installation == 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 directly. 2. Activate the plugin through the 'Plugins' screen in WordPress 3. Use the 'Settings > Mobile Call Now & Map Buttons' page to configure the plugin == Frequently Asked Questions == = How Is The Address Made? = The address is build via a Google Maps url query. Your entered address values are constructed like so: `https://maps.google.com/?q=(street), (city), (province / state), (country), (postal / zip code)` If you're having troubles with your address, be sure your business listing is correct on google.com/maps first. If it's incorrect, don't hesitate talking to Google about it, they're helpful at resolving map issues. = The Buttons Are Hiding My Footer = This should not happen, but is due to CSS conflicts. Please open a support request and share your website, we'll try to resolve the issue for your theme. = The Buttons Are Appearing Above Lightbox = Elements on websites can be layered on top of one another using a method property `z-index`. This plugin has the buttons on a `z-index` of `998`. Its at this number as most lightbox's use `999` or higher. Please open a support request and share your website, we'll try to resolve the issue for your theme. == Screenshots == 1. Settings page 2. Out of the box settings on Twenty Fifteen on iPhone 6s emulator 3. Alt settings on Twenty Fifteen on iPhone 6s emulator == Road Map == The todo list: * fix: compress output css * add: Google API address results in backend for auto-filling (reduce location errors) * Feature you'd like to see? Open a request in the Support tab. == Changelog == = 1.2 = * July, 2017 * added php version to support json string * redid version number = 1.1 = * July 6, 2017 * removed `trim()` within `empty()` which caused fatal php error on < PHP 5.5 setups (thanks for pointing this out D.B.) = 1.0 = * July 5, 2017 * Project revival! added davidsword as primary contributor, new lead on project * fixed: no output unless settings are defined * fixed: css and styles in footer, not header * fixed: default values for options to prevent undefined errors * changed: readme overhauled * changed: wrapped plugin in class * changed: improved backend interface * changed: cleaned up all function and div names * changed: verbiage for postal/zip * changed: default css to be more robust * changed: replaced pixel slider with device-mock sizes * changed: replaced third party spectrum colour picker with default native wordpress one * changed: new assets * changed: from SVG icons to dashicon for color changeable icons * added: language localization support * added: `rpb_output` filter to output * added: custom color select = 0.3 = * Minor bug fixes * Google Analytics support is added for the call tracking * Minimal mobile width now set to 320 px * Text labels are removed from buttons below 300px = 0.2 = * Fixed errors * Added custom styling option for both buttons and background * Added second option for the selecting mobile size = 0.1 = * Original version == Upgrade Notice == = 1.0.1 = * All good. = 1.0 = * If any custom CSS was written for this plugin, note all front end CSS selectors have been changed to new shorter ones = 0.3 = * All good. = 0.2 = * All good. = 0.1 = * All good.