Plugin conflict with Sub-menu Newspaper theme
-
With the latest Ultimate Member release and the TagDiv Newspaper theme the megamenu doesn’t work. Please, fix it because it’s a problem in Ultimate Member plugin. When I deactivate it, all works fine. Newspaper theme is 12.6 using megamenu in main page menu, so you can verify it.
-
I’ve discovered that is issue is being caused by um-filters-navmenu.php if I just disable all code inside this file, all works fine and my megamenu is being displayed without issues.
Hello @fidoboy
This is the megamenu issue. This theme not extend but override wordpress menu class. You could switch the theme and check. Also, ask this theme support.
Regards.
Or this plugin could have an option to disable the menu function. Because right now it can be solved commenting out that code.
Hello @fidoboy
This is not wrong code. Our menu code works well.
What do you want to comment?
Regards.
This is not my problem.
You can try this code snippet to disable execution of the
um-filters-navmenu.phpscript:remove_filter( 'wp_get_nav_menu_items', 'um_get_nav_menu_items', 9999, 3 ); remove_filter( 'wp_nav_menu_objects', 'um_conditional_nav_menu', 9999, 2 ); remove_filter( 'wp_nav_menu_objects', 'um_add_custom_message_to_menu', 9999, 2 );Install the code snippet into your active theme’s
functions.phpfile
or use the “Code Snippets” plugin.Thanks a lot @missveronicatv I’ll try it for sure, because if it works it’s a better solution than modifying the plugin surce code as I’m been doing until now. I’ll report back if all works fine and this way it could help to other people with the same problem.
-
This reply was modified 2 years, 8 months ago by
fidoboy.
@missveronicatv it works very well. So the issue is solved. May be this tip could be added into the Ultimate Member developer docs.
Thanks for your feedback about this solution.
This is the UM bug report:https://github.com/ultimatemember/ultimatemember/issues/1334
-
This reply was modified 2 years, 8 months ago by
missveronica.
Hi @fidoboy and @missveronica
There will be a fix for this issue in the next version https://github.com/ultimatemember/ultimatemember/pull/1396
If you can test this pre-release on your staging websites, please let me know about the results.
Best Regards!Hi @wecareu01
Sorry for mention you in this thread, but I want to let you know about the progress in this closed topic https://ww.wp.xz.cn/support/topic/plugin-conflict-with-sub-menu-newspaper-theme/
There will be a fix. The pre-release version you can find in the message above.
Best Regards!Hi @nsinelnikov
Thanks for the notice, I have updated the plugin and it now works correctly
Best Regards!
-
This reply was modified 2 years, 8 months ago by
The topic ‘Plugin conflict with Sub-menu Newspaper theme’ is closed to new replies.