Hi @evalast
1) why do you say it’s a problem? Why should you activate the Woocommerce add-ons if you disable WooCommerce? This is to avoid issues that may arise when the WooComemrce add-ons use the functions that are defined in WooCommerce without first checking their existence.
Do you need those add-ons when WooCommerce is not active?
2) No if they are all active in mobile, they will not run all in mobile. Only those ones that you deactivate will be added to the set of deactivated plugins on mobile.
For example, on page Sample-page you deactivate plugins A, B, and C. If on mobile you deactivate B and D, when you load the page on mobile you will have the plugins A, B, C, and D deactivated. On the desktop, you will have A, B, and C deactivated. Let me know if it’s clear.
I’m also not a very big fan of wp_is_mobile. I rarely use that setting because you need a different cache for mobile and desktop, but if you want completely disable some plugin on mobile (not only the assets), you need to detect the mobile device on the server. And I know many users need it.
When i click the button to activate all plugins in the mobile screen and save and then refresh the page a few plugins are still not activated. Its just weird. Maybe it has something to do with the error in my console from the othe questoin i asked…
atm i was able to get all checkboxes checked and thats the last time i visit the mobile screen 🙂 to your second point i think i got it. thx
Maybe you consider a options screen where we can deactivate some parts of the plugin to hide it in the menu. If i recall right ATUM inventory plugin has such a option. THX a lot
Hi @evalast
no, this issue has nothing to do with the other question, it was a bug of FDP. Now, this is fixed with the new version 1.8.9.0.5. Many thanks for discovering this bug.
Maybe you consider a options screen where we can deactivate some parts of the plugin to hide it in the menu.
You really don’t like that setting 🙂
If you want you can hide it by adding this code in the functions.php of your child theme, or in a functional plugin:
add_action( 'eos_dp_before_tabs',function(){
?><style>#fdp-menu-mobile{display:none}</style><?php
} );
If you have no child theme and no functional plugin, you can quickly create a functional plugin as shown here: https://freesoul-deactivate-plugins.com/create-custom-plugin/. The code above has no impact on the performance, so if it disturbs you it would be not a bad idea.