rhodian
Member
Posted 3 months ago #
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/
agelonwl
Member
Posted 3 months ago #
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?
rhodian
Member
Posted 3 months ago #
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!
agelonwl
Member
Posted 3 months ago #
can I know if your theme header.php uses wp_head() and/or footer.php has wp_footer()?
rhodian
Member
Posted 3 months ago #
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>
agelonwl
Member
Posted 3 months ago #
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
rhodian
Member
Posted 3 months ago #
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)?
agelonwl
Member
Posted 3 months ago #
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/