Forum: Nearby Posts

This forum is closed for new topics. However, you can still search for a solution in the old topics. For technical support related to the Nearby Posts premium extension please open a new premium support ticket.

[Resolved]Add code in Comments

Forums Nearby Posts Add code in Comments

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #51672
    coteweb
    Member

    I need to add the Nearby code([gmw_nearby_locations]) in a comment How can do we do?

    and I want to customize the default marker .
    I bought and modify the code to customize the markers articles using the code [gmw_nearby_locations item_type=”posts” nearby=”43.7492185,7.217304″ units=”kilometers”] but I want to change the default marker .
    I displays a map with GPS coordinates . I want to change the image of the blue marker by a large round blue transparent .
    Can you help me?

    #51712

    Hello Coralie,

    I need to add the Nearby code([gmw_nearby_locations]) in a comment How can do we do?

    I am not sure exactly how you can do that. You probably need a custom code or a plugin that renders shortcodes that entered in comments. Take a look at this plugin for example. I haven’t tried it but maybe that is what you need.

    I want to change the image of the blue marker by a large round blue transparent .

    Are you referring to the blue marker that represents the current location?

    #51753
    coteweb
    Member

    Thank you for this brilliant idea , it focntionne with this plugin

    For picture, I referring to the blue marker that represents the current location. I would like to change this image.
    And it’s possible to fix the max zoom at 6? I do not mean that people can see the streets.

    #51772

    You are welcome Coralie,

    Place the script below in the functions.php file of your theme or child theme. It should modify the current location icon and set the maximum zoom to 6. You need to replace the URL or the icon in the script with the URL of your custom icon.

    Let me know if that helps.

    #51773
    coteweb
    Member

    thank you, it works perfectly!

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.