• Hi
    Thank you very much for this great plugin.
    I have some questions
    1. Can this plugin deactivate a plugin on an element? For example, I want the “Dark Mode” plugin to be disabled on the “header and footer” section. Can it?
    2. Can this plugin deactivate the plugin in a template only on a laptop/pc?
    For example, I have a “category” archive, and have a “search” plugin on that “category” archive, can I deactivate that “search” plugin at the “category” archive on my laptop/pc?
    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Jose Mortellaro

    (@giuse)

    Hi @mushlih

    many thanks to you!

    Here my answers to your questions.

    1. A plugin can’t be disabled in a part of the page, but you can disable parts of a plugin. If for example a part of the plugin Dark Mode loads only in the header, you can disable that part. When I say part of a plugin I mean a hook added by that plugin or an asset. With the PRO version, you will be able to disable parts of plugins, but the free version hasn’t this feature. But the PRO version is still under development and not public.
    2. Unfortunately you can’t. You can deactivate plugins by Archives, but then it is applied both on desktop and mobile. You have the mobile options, but the same doesn’t help you with your case.

    Thread Starter Mushlih Almubarak

    (@mushlih)

    When I say part of a plugin I mean a hook added by that plugin or an asset.

    Hi
    I don’t really know about it, but can I disable it with CSS?
    These are the class the plugin uses when active: wp-dark-mode-active
    And this is the header class: header
    And here is the footer class: footer
    But I don’t know what CSS code can be used to deactivate the plugin in the header and footer using CSS, can you help me please?
    Thank you very much

    Plugin Author Jose Mortellaro

    (@giuse)

    Hi @mushlih

    What you want to do is to annulate the effect that a plugin has on parts of the page. If you disable the entire plugin, of course, that plugin will have no impact any more on those parts of the page, but I assume you need that plugin on the same page for other reasons.
    So Freesoul Deactivate Plugins can’t help you in this case.

    You can’t disable anything with CSS, but you can override the CSS introduced by that plugin.
    With CSS you can do what you are trying to do, but it’s not a matter of disabling something, but of overriding.

    For this kind of topic, you should ask on the support forum of WP Dark Mode: https://ww.wp.xz.cn/support/plugin/wp-dark-mode/

    Thread Starter Mushlih Almubarak

    (@mushlih)

    I managed to solve the problem myself, thank you

    Plugin Author Jose Mortellaro

    (@giuse)

    Perfect! You are welcome @mushlih

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Some Question’ is closed to new replies.