Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author MiKa

    (@photoweblog)

    To be honest: I did not touch this part of the plugin for several years. You are right – there have been some functions added and I will adapt this with the next version. Thx for your hint!

    Plugin Author MiKa

    (@photoweblog)

    Thx again! Fixed with V2.7.1 ??

    Hi, unfortunately the solution in v2.7.1 did not work for me. The following change to osm.php did the trick:

    -define('OSM_PRIV_WP_CONTENT_URL', site_url() . '/wp-content' );
    -define('OSM_PRIV_WP_CONTENT_DIR', ABSPATH . 'wp-content' );
    -define('OSM_PRIV_WP_PLUGIN_URL', OSM_PRIV_WP_CONTENT_URL. '/plugins' );
    -define('OSM_PRIV_WP_PLUGIN_DIR', OSM_PRIV_WP_CONTENT_DIR . '/plugins' );
    +define('OSM_PRIV_WP_PLUGIN_URL', plugins_url() );
    +define('OSM_PRIV_WP_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );

    Plugin Author MiKa

    (@photoweblog)

    Thx – added to the latest version.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Plugin shows no Map – only working if installed in /wp-content/plugins’ is closed to new replies.