Forums › Kleo Geolocation › Dropdown menu problem
- This topic has 7 replies, 2 voices, and was last updated 6 years, 2 months ago by
Eyal Fitoussi.
-
AuthorPosts
-
May 16, 2016 at 10:30 pm #52235
lash411
MemberThere seems to be an issue with the following theme and plugins:
Theme: Kleo
Plugins: WPGeoDirectory which has an add-on specific to Kleo theme and Geodirectory which alsoI don’t think Geodirectory and WPGeoDirectory are playing nice with each other because when I deactivate WPGeoDirectory, my Geodirectory dropdowns return to normal.
Attachments:
You must be logged in to view attached files.May 17, 2016 at 3:51 pm #52255Eyal Fitoussi
MemberHello Lash,
I am bit confused, by “WPGeoDirectory” do you mean GEO my WP plugin?May 17, 2016 at 5:14 pm #52261lash411
MemberYes, sorry, GEOmyWP and GeoDirectory aren’t working together.
May 18, 2016 at 7:17 pm #52292Eyal Fitoussi
MemberThank you, I assumed so.
Unfortunately, both GEO my WP and GEO Directory are Google Maps based plugin and so, conflicts are expected. It is not always recommended to use Multiple Google Maps plugin on a site because of the conflicts, but many times these conflicts can be taken care of.
There were other users who reported such conflicts in the past and as much as I know the GEO Directory team helped them with the issues. Have you tried to contact the developers of GEO Directory plugin to see if they already have a solution for the issues that you are experiencing?
May 19, 2016 at 8:16 am #52332lash411
MemberYes, they said:
it seems like it’s GeoMyWp causing the problem, not GeoDirectory, did you ask for support to its author?
I’ve also given them your last response. I’ve also noticed the GeoMyWP plugin also affects Geodirectory dropdown menus behind the scenes in WordPress Dashboard, for example the Permalinks settings page dropdown menus is presenting the same problem.
May 19, 2016 at 1:28 pm #52344Eyal Fitoussi
Memberit seems like it’s GeoMyWp causing the problem, not GeoDirectory, did you ask for support to its author?
Well, there is no one plugin to point the blame on. It is simply a conflict between two plugins. It could be a conflict between JavaScript files, stylesheet and so on.
If you can post a link to the live page with the conflict I will take a look and see if I can see any error that might help in finding the issue.
May 19, 2016 at 4:48 pm #52350lash411
MemberThis is the fix to paste into the Child theme:
//fixes for geo my wordpress and GD
remove_action(‘admin_enqueue_scripts’, ‘geodir_admin_scripts’);
remove_action(‘admin_enqueue_scripts’, ‘geodir_admin_styles’);add_action(‘admin_enqueue_scripts’, ‘geodir_admin_scripts’,7);
add_action(‘admin_enqueue_scripts’, ‘geodir_admin_styles’,7);remove_action(‘wp_enqueue_scripts’, ‘geodir_templates_scripts’);
remove_action(‘wp_enqueue_scripts’, ‘geodir_templates_styles’, 8);add_action(‘wp_enqueue_scripts’, ‘geodir_templates_scripts’,7);
add_action(‘wp_enqueue_scripts’, ‘geodir_templates_styles’, 7);function gd_kelo_dequeue_script() {
wp_dequeue_script(‘geodirectory-googlemap-script’);
}
add_action( ‘wp_print_scripts’, ‘gd_kelo_dequeue_script’, 100 );May 19, 2016 at 9:55 pm #52354Eyal Fitoussi
MemberThank you Lash for posting the solution. It seems familiar, I am pretty sure that I already saw this solution either on this forum or on GEO Directory Forum.
Did this solve all of the issues that you were having?
-
AuthorPosts
You must be logged in to reply to this topic.