How to solve GeoDirectory plugin conflict
In this article, we have demonstrated how to solve the conflict with WP User Frontend and GeoDirecory.
So to stop the conflict we will remove google maps feature from WP User Frontend. To do that –
1. You have to open”Wp-content/plugins/Wp-user-fronted/wpuf.php file.
2. In line number 197 you will see this-[php]wp_enqueue_script( ‘google-maps', $scheme . ‘://maps.google.com/maps/api/js?sensor=true' );[/php]
3. You have to just comment out this line to turn off the google map from WPUF. So it will look like[php]//wp_enqueue_script( ‘google-maps', $scheme . ‘://maps.google.com/maps/api/js?sensor=true' );[/php]
By commenting out the line, now the plugin – WP User Frontend will not load the google maps and the features of GeoDirectory will work fine.
Remember: As you edited the plugin file directly, this change will be lost upon update. So after updating, you have to comment this line each time.