Giter VIP home page Giter VIP logo

wp-google-map's Introduction

=== Google Maps Short Code === Author URI: http://www.dkarfawork.com Plugin URI: http://www.dkarfawork.com/wp/google-maps-code Contributors: Debabrata Karfa Donate link: http://www.dkarfawork.com Tags: Google Maps, Google Map, Short Code Requires at least: 3.2 Tested up to: 3.6 Stable Tag: 1.0.0

Short code for embedding Google Maps in any WordPress post or page for Satelite View.

== Description ==

This plugin will enable a simple short code that you can use for embedding Google Maps in any WordPress post or page. The short code uses the WordPress HTTPS API and the Transients API for delivering cached maps with little to no impact on your site's performance.

Maps are displayed with the [pw_map]] short code:

[dkgm_map address="New York City"]

== Frequently Asked Questions ==

  1. Can I change the width or height of the map?

Yes, simply supply a width and height parameter:

[dkgm_map address="New York City" width="400px" height="200px"]

You can also use percentages for heights:

[dkgm_map address="New York City" width="50%" height="200px"]

  1. How are the maps cached?

Maps are cached using the WordPress Transients API, which allows for very simple database-based caching.

Each time you display a map, the address specified is used to generate a unique md5 hash, which is used for the cache identifier. This means that if you change the address used for your map, the cache will be refreshed.

  1. How often do caches refresh?

The maps are cached for 3 months. Caches are automatically cleared (for individual maps) when you change the address in the short code.

== Installation ==

  1. Activate the plugin
  2. Added [pw_map address="your address here"] to any post or page

== Changelog ==

= 1.0 =

  • First release!

wp-google-map's People

Watchers

James Cloos avatar Debabrata Karfa avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.