Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter mugen2009

    (@mugen2009)

    Adding the priority 10 in the remove_filter for relevanssi_query is useless. 10 is the default and this is the priority it has been added with.

    It took while to find the right place.
    That was in the functions.php file.
    I just added the below code and that made the trick:

    if (ICL_LANGUAGE_CODE == 'ja') {
        remove_filter('the_posts', 'relevanssi_query');
        remove_filter('posts_request', 'relevanssi_prevent_default_request',9);
        remove_filter('query_vars', 'relevanssi_query_vars');
      }

    Thanks

    Thread Starter mugen2009

    (@mugen2009)

    It appears I erased a double quote too much in the smlgooglemaps.php file.
    The code that must be stripped is
    width: '.$params->width.'px; height: '.$params->height.'px;

    (without the double quote at the end compare to what I was saying previously

    Thread Starter mugen2009

    (@mugen2009)

    Oh, I forgot…
    I also to remove the below piece of code
    width: '.$params->width.'px; height: '.$params->height.'px;"
    everywhere in the xmlgooglemaps.php file in the plugin

    Thread Starter mugen2009

    (@mugen2009)

    I got it. It works
    The jquery.fitmaps.js code filters the iframe source url to urls containing ‘maps.google’
    On line 65 see
    "iframe[src*='maps.google']"
    I changed this to
    "iframe[src*='xml-google-maps']"
    and it now works like a charm.

    I think this is a must to include in the next version of your plugin.
    The ability to choose markers icons depending on the symbol of the GPX waypoint would be a great thing too but that’s another story.

Viewing 4 replies - 1 through 4 (of 4 total)