PC Custom CSS
[resolved] CSS Not Retained On Deactivation (6 posts)

  1. KimJCastleberry
    Posted 2 years ago #

    This plugin applies the custom css well.

    However, deactivation and reactivation of the plugin results in a loss of the custom css that was in the css field.

    Something in the way this plugin is storing the custom css is not letting it be retained through a deactivation.


  2. jesseali
    Posted 2 years ago #

    .... was checking for a plugin conflict... deactivated, and lost everything :/

    I have a backup in my hosting account, but even upon using the old database, the CSS is still missing :(

    Any ideas how to get this back with my regular old cPanel backup? since the CSS file is now dynamically created, I guess there is no place to find and restore it?

  3. Peter Coughlin
    Plugin Author

    Posted 2 years ago #

    Yeah, it used to be considered good practice for plugins to clean up after themselves and remove settings on deactivation.. but this can be awkward for anyone who wants to deativate a plugin temporarily.

    I've updated this plugin so that it does not remove any information when you deactivate it. It will remove all info when you delete it. I think that's a better way of doing things :-)

    @jesseali - I answered your question in the other post - hope you got that sorted!

    I'll mark this as resolved..

  4. jesseali
    Posted 2 years ago #

    other post?

  5. Peter Coughlin
    Plugin Author

    Posted 2 years ago #

    In the other support thread you commented in..

    I basically said you should be able to find the CSS code for the plugin in the wp_options table in the pc_custom_css option..

  6. jesseali
    Posted 2 years ago #

    oh, awesome. I did not remember that one, sorry about that! Thanks for the reply!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • PC Custom CSS
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic