Support » Plugin: Events Manager » 'Minify javascript' with WP-Minify breaks GoogleMap in single event

  • Resolved rhodian

    (@rhodian)


    Hi,

    I am using WP-minify and when I switch on the minify javascript option, the map on the single event page does not load the map.

    Does anyone know how to fix this issue?

    I’ve tried excluding the /wp-content/plugins/events-manager/includes/js/events-manager.js file but to no avail.

    Thanks

    http://wordpress.org/extend/plugins/events-manager/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi,

    do you have a sample link for us to see and analyze? also, have you tried to temporarily switch back to default wp theme because I tried the plugin and seems to be working fine?

    Hi agelonwl,

    Thanks for the response, you can see what happens by visiting:
    http://fightsports-ondemand.tv/events/bf19/

    Javascript minification is currently switched on!

    can I know if your theme header.php uses wp_head() and/or footer.php has wp_footer()?

    Hi again agelonwl,

    The answer is yes to both…
    header.php:
    <?php
    remove_action(‘wp_head’, ‘wp_generator’);
    if (is_singular() && get_option(‘thread_comments’)) {
    wp_enqueue_script(‘comment-reply’);
    }
    wp_head();
    ?>

    footer.php:
    <div id=”wp-footer”>
    <?php wp_footer(); ?>
    </div>

    just to narrow down the problem have you tried to temporarily switch back to default wp theme because I tried the plugin and seems to be working fine with me?

    e.g. try to temporarily use only EM, WP-Minify and wordpress default theme

    Looks like its a theme related issue… I changed the theme and it worked!

    How do I go about rectifying a theme problem (I’ve invested a lot of time and effort in this particular theme)?

    Hi,

    maybe you can check on how your theme loads jquery because it seems that it doesn’t load default wp jquery library?

    e.g. http://msyk.es/blog/prevent-jquery-wordpress-theme/

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘'Minify javascript' with WP-Minify breaks GoogleMap in single event’ is closed to new replies.