Horje
Embeds a Google Map into your site and lets you add map markers with custom icons and information windows.

Noted That:

  • To install correctly this basic-google-maps-placemarks.zip.
  • Fisrt Download the basic-google-maps-placemarks.zip to your computer
  • Extract/Open basic-google-maps-placemarks.zip to Your Computer.
  • Then, Find readme.txt file inside basic-google-maps-placemarks.zip and Open readme.txt.
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the the Tips Below.

Start the Tips:

1. First Download "basic-google-maps-placemarks.zip" Plugin to your Local Computer. (Click Download)

2. Then, Login to your "yourdomain.com/wp-admin" Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse "basic-google-maps-placemarks.zip" Downloaded plugin from your computer, Where you downloaded basic-google-maps-placemarks.zip According to Step – 1 Above then, click on "Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on "Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. "Basic Google Maps Placemarks" folder is added on left sidemenu. Now, Click on "Basic Google Maps Placemarks" folder.

   Noted that: If you do not see "Basic Google Maps Placemarks" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools".

8. Now you configure yourself oR Watch video tutorial below about Basic Google Maps Placemarks Configurtions and Settings or How to work "Basic Google Maps Placemarks" in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to "Plugins" + "Installed Plugin" from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find "Basic Google Maps Placemarks" Activated Plugin from Plugin List.
  4. Then, Click on "Settings" from Plugin that is Basic Google Maps Placemarks
  5. Now, Edit/Add/Config the setting and Click on "Save Changes" button,
WP Plugin Setting



Guide

For help installing this (or any other) WordPress plugin, please read the Managing Plugins article on the Codex.

Basic Usage:

  1. After activating the plugin, go to the ‘Basic Google Maps Placemarks’ page under the Settings menu. Enter the address that the map should be centered on.
  2. Create a page or post where you’d like to embed the map, and type [bgmp-map] in the content area.
  3. Go to the Placemarks menu and click ‘Add New’. Enter the title, address, etc.
  4. Click on ‘Set Featured Image’ to upload the icon.
  5. Click on the ‘Publish’ or ‘Update’ button to save the placemark.

Advanced Usage:

Multiple maps with different locations, zoom levels, etc:

  1. Just add the extra parameters to the [bgmp-map] shortcode. Here’s an example of the different ones you can use:

[bgmp-map categories=”parks,restaurants” width=”500? height=”500?]

[bgmp-map placemark=”105? center=”chicago” zoom=”10? type=”terrain”]

Multiple maps with different placemarks:

  1. Go to the Placemarks menu and click on Categories, and add a category for each set of placemarks.
  2. Edit your placemarks and click on the category you want to assign them to.
  3. Edit the place where the map is embedded and add the category parameter to the shortcode. For example: [bgmp-map categories=”restaurants,record-stores”] or [bgmp-map categories=”parks”]. Use the category’s slug, which is displayed on the Categories page in step 1. Separate each slug with a comma.
  4. You can add the [bgmp-map] shortcode to multiple pages, each time using a different set of categories.

Setting the stacking order of overlapping markers:

  1. Choose which placemark you want to appear on top and edit it.
  2. Enter a number in the Stacking Order meta box in the right column that is greater than the other placemark’s stacking order.

Adding a text-based list of placemarks to a page:

  1. Edit the post or page you want the list to appear on.
  2. Type [bgmp-list] in the context area.
  3. Click the ‘Publish’ or ‘Update’ button.
  4. (optional) You can specifiy a specific category or categories to pull from. e.g., [bgmp-list categories=”record-stores,parks”]
  5. (optional) You can add “View on Map” links to each item in the list, which will open the corresponding marker’s info window. e.g., [bgmp-list viewonmap=”true”]

Using [bgmp-map] in a template file with do_shortcode():

For efficiency, the plugin only loads the required JavaScript, CSS and markup files on pages where it detects the map shortcode is being called. It’s not practical to detect when do_shortcode() is used in a template, so you need to manually let the plugin know to load the files by adding this code to your theme:

function bgmpShortcodeCalled()
{ global $post; $shortcodePageSlugs = array( 'hello-world', 'second-page-slug' ); if( $post ) if( in_array( $post->post_name, $shortcodePageSlugs ) ) add_filter( 'bgmp_map-shortcode-called', '__return_true' );
}
add_action( 'wp', 'bgmpShortcodeCalled' );

Copy and paste that into your theme’s functions.php file or a functionality plugin, update the function names and filter arguments, and then add the slugs of any pages/posts containing the map to $shortcodePageSlugs.

That won’t work for the home page, though. If you want to target the home page, or any other pages with conditional tags, you can do it like this:

function bgmpShortcodeCalled()
{ global $post; if( ( function_exists( 'is_front_page' ) && is_front_page() ) || ( function_exists( 'is_home_page' ) && is_home_page() ) ) add_filter( 'bgmp_map-shortcode-called', '__return_true' );
}
add_action( 'wp', 'bgmpShortcodeCalled' );

Before version 1.9, you needed to use the bgmp_map-shortcode-arguments filter to pass shortcode arguments when calling do_shortcode() from a template, but that is no longer necessary. You can simply pass the arguments in the do_shortcode() call, like this:

do_shortcode( '[bgmp-map center="Boston" zoom="5"]' );

Check the FAQ and support forum if you have any questions.


custom, icons, information, windows, markers, lets, google, into, your, site,

Name

Reffered: https://wordpress.org/

Share on: