If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

WordPress. How to change Google map marker

Today you will learn how to change the Google map marker in WordPress templates. You should make the steps indicated below in order to change it.

WordPress. How to change Google map marker

  1. In order to do so, log into the admin panel by adding the /wp-admin to your site URL. Then, go to the Appearance -> Editor and open the static-map.php file:

    WordPress. How to change the map marker

  2. There you should locate the following part of the code:

     var image = '<?php echo get_stylesheet_directory_uri(); ?>/images/marker.png';
  3. And change it to the following:

    var image ='http://your_website.com/wp-content/uploads/2015/05/new_marker_image_name.png';

    The link should be changed to yours:

    WordPress. How to change the map marker2

  4. After that, save the changes up and reload the web-site. You should see the image of yours.

Feel free to check the detailed video tutorial below:

WordPress. How to change Google map marker