Support » Plugin: Leaflet Maps Marker (Google Maps, OpenStreetMap, Bing Maps) » Problem with multiple markers on Layer map with wordpress on his own directory

  • Resolved jintos



    I have a problem to display marker on layer with my wordpress install.

    I have a custom folder directory for my project ( :

    – cms <- wordpress folder
    – content <- wp-content folder
    — languages
    — plugins
    — themes
    — upgrade
    — uploads

    When I create a new Layer and add a new marker on this layer, the marker doesn’t display on layer map…

    I tried with a basic wordpress structure and it works perfectly but not with my custom folder structure.

    The plugin failed just for display Marker on Layer map, all others features work fine.

    Have any idea about my problem and how to solve it ?

Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Author RobertHarm


    mhhh – did you explicitly move wp-load.php out of root? I expected it in /labo – that would explain the issue for me, as my script goes directories up until wp-load.php is found – in your case, it isnt, as the script would also need to go one level up.
    An idea: create a wp-load.php in /labo which includes the wp-load.php in /labo/cms – that could work (<?php include(‘/cms/wp-load.php’); ?> or use full path if needed)

    Hi Robert,

    Your Awesome !!!! It Works !!!

    I added a wp-load.php in the project root that included the cms/wp-load.php (wordpress core directory) as you have advised me and it works perfectly!

    This is a very good tip when experiencing the problem described in this post!

    I think it can solve many problems related to the execution of php files in the folder wp-content/plugins when using a custom folder structure as I use.

    Thanks a lot for this help 😉

    I’ll take a pro license for one of my clients because your plugin is really excellent!

    I will also leave a good review for your plugin! You greatly deserve 5 stars for your assistance and your speed !

    Thanks again !

    Plugin Author RobertHarm


    great to hear that it works now! thanks also in advance for your review – this will be very much appreciated!

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Problem with multiple markers on Layer map with wordpress on his own directory’ is closed to new replies.