Disable MegaMenu

Posted in: Newspaper
Post count: 10

I’d like to disable megamenu so I can use the another plugin that is conflicting with it. If I comment out this line in includes/wp_booster/td_menu.php, it works:
add_filter('wp_edit_nav_menu_walker', array($this, 'hook_wp_edit_nav_menu_walker'));

But I want to do it in a way that doesn’t break theme updates. What is the correct remove_filter call that will remove this filter?

Post count: 6600

Hi,

Unfortunately the mega menu filter can’t be removed using the remove_filer function because the theme uses an object to apply the filter.
Sorry for the inconvenience!
Thanks for the message!

Post count: 10

Hi Lucian,

Thanks for the response. According to the WordPress documentation, it may be possible to remove the filter by passing in the object:

If a filter has been added from within a class, for example by a plugin, removing it will require accessing the class variable.

global $my_class;
remove_filter( 'the_content', array($my_class, 'class_filter_function') );

from here: http://codex.wordpress.org/Function_Reference/remove_filter

Is there some way I can access the class object?

Thanks,
Ken

Post count: 6600

Hi,

The instance/object class can’t be accessed so you you can use the remove filter function for this. Could you let me know with which plugin the mega menu is conflicting with.
Please let me know!

Thanks

Post count: 10

The plugin it’s conflicting with is Nav Menu Roles. It lets you display different menu items depending on the user’s role and whether they are logged in or not.

Thanks,
Ken

Post count: 6600

Hi,

I have added this on our issue list and we will take a look at it. Sorry for the inconvenience!

Thanks for the message!

  • This reply was modified 11 years by Lucian.
Post count: 4

Hi,

I’m also having the same conflict, and would be very interested to see a speedy fix to this if possible.

I appreciate the conflict is caused by lack of functionality in WordPress, but would be great if we could switch the megamenu options on or off.

The author of the Nav Menu Roles suggests a solution at https://wordpress.org/plugins/nav-menu-roles/faq/ under Workaround #1.

Perhaps this could be incorporated in to the theme?

Many thanks,

Dan

*** UPDATE ***

I just realised this post is in the Newspaper forum, and not the Newsmag forum. I’m using Newsmag. But the same problem exists.

  • This reply was modified 11 years by FitMedia.
Post count: 6600

Hi,

Thanks for your update on this!
I have stated before we will take a look at this matter however I’m affair that this will take some time as we have other matters to attend too which came first.
Sorry for the inconvenience!

Thanks

Post count: 7

Can you please address this? Not everybody wants to use megamenus and not having the ability to disable from admin is cumbersome when updating.

Thanks

Post count: 1291

Hi,

We’ll look for a solution after we release v5.0, that section is not easily modifiable, sorry for the delay.

Thank you, Emil G.

Post count: 1

I also really need this conflict fixed for Nav Menu Roles.

This plugin is used on many of my sites. It is one of those I cannot live without.

The author shows ways that other authors can fix the conflicts:
https://wordpress.org/plugins/nav-menu-roles/faq/#conflict

Thanks for your attention.

Post count: 6600

Hi,

Thanks for letting us know about it. We have this on our todo list and we will attend on it as soon as possible.

Thanks for the message!

Post count: 1

Hi Lucian,

I’m also in desperate need for the fix of this. It’s been a couple of months since you last communicated on this issue. We hope you did find some time to work on it. Please advise us of your progress.

Thank you so very much.

Cheers:)

-sn

  • This reply was modified 10 years by sangn431.
Post count: 1291

Hi,

This is still on our list, unfortunately we have a lot of features and modifications to add and we have to take them one by one. I cannot provide a precise date for this implementation but will certainly be implemented in a future update. Until then try the solution provided by Ken on the first post.

Thank you!

Post count: 73

I would also like to find a solution to this. Are there any work arounds that are not too complicated that will make “New user roles” (or pluginw with the same functionality) in the short term?

Post count: 23312

Hello Larshell,

Unfortunately, until now we do not have any solution in this regard because it is not an easy task realizable. As my colleague said above, that section is not easily modifiable and this task involves to reconstruct the entire Mega Menu feature. In a future update, it is possible but we cannot say for sure if it will get done in the next update because we have a big list of fixes, improvements, and suggestions to implement. It’s hard to filter them and select which one gets implemented now and which one gets postponed. The developers decide if it gets done or not, though.

Thanks for your understanding!

Post count: 49

wow I am disappointed here as I assumed an easy fix here! This thread started in 2015 and I know its not easy to fix this but its 2017 and people use woocommerce, they use restrict content pro and EDD and lots of other membership plugins on their sites these days and really anyone doing anything with a membership plugin needs to restrict and hide the menu items from time to time! so ultimately it seems this theme is not good for membership sites at all. The work around is to deactivate the theme and activate another make the menu changes and activate again which is alot of work on a large website with alot of moving parts!! I have used over 200 themes at this stage over 10 years and this is the first one to experience this problem and it being such a popular theme it seems odd that this was not addressed in 2 years. Anyways I am here for selfish reasons but I would imagine this is a strange one for most customers looking at this thread.

Post count: 23312

Hello allmyhoney,

This feature is not such popular request and that’s why this it has been removed from our list of improvements, sorry! Also, please notice that is not an easy task and please understand that we have such a lot of other popular requests which are required by more than one customer and we are trying to prioritize them.

Thanks for your understanding!

Post count: 49

@catalin can you let me know where I add this to the customer requests here (ideas board of some sorts?) and I will try and highlight it. I would highly doubt this would not be a popular request considering the popularity of woocommerce, easy digital downloads, wp members, restrict content pro, woocommerce membership and so on. Anyone using these will have to control the visibility of the menu items. I can flag this correctly in a customer ideas thread if you have this facility and then customers can actually vote correctly on the topic.

Post count: 23312

Hello allmyhoney,

Sorry for this inconvenience but please keep in mind that we cannot help you in this regard and also, we do not have any customer requests department, sorry! This feature will not be implemented in our theme at the moment because we have a lot of other requests which are more important than this one and also, this decision is taken by the team of developers and not by customer support team. If our theme does not fit to your project and also if you are unhappy with our product, please request a full refund and we will provide your money back, as soon as possible.
For refund, please contact the Envato Market and request a full refund, accessing this link here -> https://themeforest.net/refund_requests/new.

Thanks for the message!

Post count: 49

@catalin I was simply pointing out that it would be a nice to have due to visbility of menu items being important these days. I realzie now that you all in tagdiv took the decision to not support these types of plugins way back in the past but its surprising that that has not changed. I love the theme and never said I needed a refund at all. As I said before I am going to code this in myself and create a work around for it. Thanks for your time.

Viewing 21 posts - 1 through 21 (of 21 total)
The topic ‘Disable MegaMenu’ is closed to new replies.