• Resolved wprox

    (@wprox)


    Hi Jeff,

    Thanks for the great plugin ??

    I started using a Stripe plugin, and had the smart idea to globally disable it so it could just be enabled on my Pricing page to make things easy.

    I globally disabled that plugin, and next thing I know when I go into that plugin’s settings in wp-admin, all settings have disappeared as if I hadn’t entered them. Luckily, they were still saved, just not showing.

    As soon as I deactivated Plugin Organizer, and then just took the Stripe plugin out of the globally disabled plugins list, the Stripe plugin showed all its setting and was back to normal.

    So then I went back to each page and had to manually disable that Stripe plugin.

    Any idea why that all happened?

    Thanks again ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Jeff Sterup

    (@foomagoo)

    If you globally disable the stripe plugin you should be able to enable it on the admin pages you need it on by using a plugin filter. If it is globally disabled and you have selective admin plugin loading enabled then it is disabled everywhere including the admin. If it is using ajax then you need to add https://www.whateveryourdomainis.com/wp-admin/admin-ajax.php to your plugin filter.

    Thread Starter wprox

    (@wprox)

    Thanks Jeff, Selective Admin Plugin Loading is OFF. The plugin makes no mention of using ajax.

    Odd, it seems like I’ve done this for other plugins, without ever having to setup a filter???

    I have one filter for Caldera forms because of some issue with the API call, that you helped me with.

    Otherwise, I’m not even sure how to setup a filter for this Stripe plugin??? Is this what I should do?

    Q. How do I disable a plugin on the front end and still have it enabled on the admin pages?
    A. To load a plugin only in the admin you need to enable selective plugin loading for the admin areas and fuzzy url matching. Then globally disable the plugin you want to turn off on the front end. Next create a plugin filter with the permalink set to your admin url. Like https://www.jsterup.com/wp-admin/. Then enable the plugin for that plugin filter and select also affect children. Now the plugin should only be loaded in the admin.

    Thanks a lot ??

    Plugin Author Jeff Sterup

    (@foomagoo)

    You can try that. What stripe plugin are you using? Is it free? if it is free I can troubleshoot it. Just let me know where to download it.

    Thread Starter wprox

    (@wprox)

    Plugin Author Jeff Sterup

    (@foomagoo)

    Installed and tested. The settings page makes an Ajax call to https://wwww.whateveryourdomainis.com/wp-json/. Add a plugin filter with that as the permalink and select also affect children and enable the Stripe plugin. That should make it work when you globally disable it.

    Thread Starter wprox

    (@wprox)

    Hi Jeff,
    What did you mean by “and enable the Stripe plugin”?

    I set up the plugin filter as you directed, then globally disabled Direct Stripe, then enabled it on the one pricing page, BUT then Direct Stripe’s settings have again disappeared in WP admin ??

    Took Direct Stripe out of globally disabled list, and its settings are back in the WP admin.

    So that didn’t seem to work???

    Thread Starter wprox

    (@wprox)

    Missed a step, think I’ve got this solved.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Tried to globally disable a plugin, then plugin’s settings disappeared’ is closed to new replies.