[oik] plugins.com

WordPress plugins and themes

  • Home
  • About
    • lazy shortcodes
    • smart shortcodes
    • oik base plugin
      • oik – donate
      • oik PayPal buttons
      • oik installation
      • oik Button Shortcode button
      • oik changelog
      • oik FAQ
      • oik plugins on SVN
      • oik plugins on GitHub
  • Plugins
    • oik base plugin
    • FREE oik plugins
    • WordPress plugins
    • Premium oik plugins
    • Bespoke oik plugins
  • Shortcodes
    • Shortcode examples
  • Blocks
    • Block examples
  • APIs
    • ALL action and filter hooks
  • Blog

bw_show_googlemap – Display two Google maps on one page

Until very recently, if you tried to display two Google maps on one page then only one of them worked. This has now been fixed in oik v2.4-alpha.1031. You can have two, or more Google maps. Here’s an example using the alt=0 and alt=1 parameter options.

oik-plugins is run by Herb Miller. We are based in Rowlands Castle, Hampshire, UK. If you don’t enter an address this is the default position used.

Work
Bobbing Wide
41 Redhill Road
Rowlands Castle
Hampshire
PO9 6DE
UK
Google directions

I grew up at this address: 35 High Street, Portsmouth, but it was Old Portsmouth in Hampshire England not New Hampshire, New England!

Work
Don’t send stuff here
35, High Street
Portsmouth
New Hampshire
03801
USA
Google directions

See also

    • bw_address – Display the address
    • bw_directions – Display a ‘Google directions’ button.
    • bw_geo – Latitude and Longitude
  • oik-user

hover to slideToggle source

Until very recently, if you tried to display two Google maps on one page then only one of them worked. This has now been fixed in oik v2.4-alpha.1031. You can have two, or more Google maps. Here's an example using the <code>alt=0</code> and <code>alt=1</code> parameter options.<!--more-->[div class=w50p5]<p>[bw_company] is run by [bw_contact alt=0]. We are based in Rowlands Castle, Hampshire, UK. If you don't enter an address this is the default position used.</p>[bw_show_googlemap alt=0][bw_address alt=0][bw_directions alt=0][ediv][div class=w50p5][bw_show_googlemap alt=1][bw_address alt=1][bw_directions alt=1][ediv][clear]<h3>See also</h3><ul><li>[codes bw_address,bw_directions,bw_geo]</li><li>[bw_plug name=oik-user]</li></ul><hr />[bw_wtf]

Published: October 31, 2014 | Last updated: October 31, 2014

Information

Shortcode: bw_show_googlemap – Show Google map
Letters:

Syntax

Syntax

[bw_show_googlemap
company="| company name - type your company name"
lat="lat| latitude - latitude"
long="long| longitude - longitude"
postcode="postcode| postcode - postcode or ZIP code"
width="100%| width - width of the Google map"
height="400px| height - height of the map"
markers="| marker1,marker2 - Additional markers"
zoom="12| number - Zoom level"]

Other examples

  • bw_show_googlemap – with many parameter overrides
  • bw_show_googlemap shortcode with company override
  • Displaying 3 Google maps on one page
  • Find us on Google Maps

Plugins

  • All Plugins
  • oik base plugin
  • FREE oik plugins
  • WordPress plugins
  • Premium oik plugins

Themes

  • FREE themes
  • Bespoke themes
  • Premium themes

Blocks

  • All Blocks
  • Block examples
  • About Blocks

Shortcodes

  • All Shortcodes
  • Shortcode examples
  • About Shortcodes

Reference

  • About APIs
  • All APIs
  • All Classes
  • All Files
  • All Hooks

Support

  • Contact
  • Cookies policy
  • Get API key
  • Privacy
  • Request support
  • Sitemap
  • Stay informed
  • Terms and Conditions
oik-plugins
Email: oikplug@oik-plugins.com

Weight shipping plugins

Find out which cart weight shipping plugin you need for your WooCommerce site.
Which cart weight based plugin do I need?

Site:  www.oik-plugins.com
© Copyright oik-plugins 2011-2025. All rights reserved.


Website designed and developed by Herb Miller of Bobbing Wide
Proudly powered by WordPress and oik-plugins

WordPress version: 6.8.3

Gutenberg version: 21.7.0

PHP version: 8.2.29