Plot multiple places on Google Maps – WordPress plugin

Plot events, photos, places, etc on Google Maps using a simple Wordpress shortcode which is built using Google Maps API. Everything below can be achieved easily with a simple plugin, XML file to provide the markers and a configurable shortcode Plot Multiple Locations on a Map Marker Clustering (markerclusterer) Ability to click each marker to get more details i.e. through a Marker popup Marker's info popup details is customizable through shortcode and CSS Ability to set initial zoom level Step 1: Get an API Key for Google Maps API First of all we need an API key for Google Maps. You can get an API key from Google Developer Console Here are the steps to create an API Key 1. Visit Google Developer console Projects page and create a project as per your requirement 2. Go to API Manager and select the project created in above step 3. Enable Google Maps JavaScript API and Google Maps Embed API 4. Click the Credentials link 5. Click New Credentials and select API Key....
Read More

Geocoding an address using Google Maps PHP API

Geocoding address means finding Latitude and Longitude for physical address. This uses Google Maps PHP API. E.g. Let’s assume we need to plot some events happening in various locations on Google Maps Geocoding all events to find their latitude and longitude using below function [crayon-59c7eb9318048996271471/] If the address provided is in a way google can understand, the above function returns $data_arr in array format where latitude => $data_arr[0] longitude => $data_arr[1]...
Read More

Clean up Microsoft Word mark up in HTML

People are so used to using Microsoft word to type their content that it is not practical to even think of asking them to change and start thinking from a web perspective to produce a clean HTML and standards compliant markup using Adobe Dreamweaver or some other useful editor. But the basic purpose of a CMS is to decentralize the content uploading process and to be able to achieve this Microsoft Word is the biggest hurdle CMS users all over are facing. Till date there is no foolproof solution to this problem. Tools like HTML tidy, htmLawed etc do a descent job however it largely depends on how those tools are configured. HTML tidy can work at the Apache level which is the most cleanest way whereas htmLawed works at the application level. I liked htmLawed as it is very simple to use and quite flexible to change its configuration for different applications. Here are some steps to use htmLawed Download latest source code of htmLawed...
Read More