Title: Client Page CSS
Last modified: August 21, 2016

---

# Client Page CSS

 *  Resolved [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [13 years ago](https://wordpress.org/support/topic/client-page-css/)
 * How can I permanently turn off the external CSS file support? I want to use this
   plugin for multisite and I want to make sure the css file is not created upon
   install of the plugin for each site. I see there is an option to turn it off…
 * “Write to external CSS file? (Leave unchecked for WP Multisite.)”
 * **Since the value is on by default**, it will create the file each time the plugin
   is enabled on a site within a WP network. There are several files that reference
   either creating the file, getting the option value, or saving the option value.
 * What is the best way to permanently turn this off so the file is never created?
 * [http://wordpress.org/extend/plugins/simple-staff-list/](http://wordpress.org/extend/plugins/simple-staff-list/)

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

 *  Plugin Author [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * (@brettshumaker)
 * [13 years ago](https://wordpress.org/support/topic/client-page-css/#post-3746630)
 * In _inc/admin-install-uninstall.php comment out line 137. That will prevent it
   from creating the CSS file on Activation. Then, if you need to make sure it never
   gets turned on by a client or something, in _inc/admin-views.php comment out 
   line 292 so the variable $ext_css_check is never set to “checked.” Also comment
   out line 329. This will keep that checkbox from ever showing up on the page.
 * I hadn’t thought about the need for that box to be unchecked by default. I’ll
   make that change in the next update. Thanks for bringing that up.
 *  Thread Starter [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [13 years ago](https://wordpress.org/support/topic/client-page-css/#post-3746650)
 * Thanks for the quick reply!
 * I commented out the three lines of code you specified and the file is still being
   created upon activation.
 * I’m digging a bit deeper to see if I can find a solution…
 * If I find every location where `file_put_contents();` is called and comment it
   out, that would work right?
 *  Plugin Author [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * (@brettshumaker)
 * [13 years ago](https://wordpress.org/support/topic/client-page-css/#post-3746653)
 * Sorry…I that would do the trick.
 * Yeah, that will work. It should only be in _inc/admin-install-uninstall.php and
   _inc/admin-views.php. Oh, there’s also one at the bottom of simple-staff-list.
   php
 *  Thread Starter [srumery](https://wordpress.org/support/users/srumery/)
 * (@srumery)
 * [13 years ago](https://wordpress.org/support/topic/client-page-css/#post-3746661)
 * That worked. There were five locations in three files.
 * (2) _inc/admin-install-uninstall.php
    (2) _inc/admin-views.php (1) simple-staff-
   list.php
 * Thank you for your help in getting this resolved!
 *  Plugin Author [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * (@brettshumaker)
 * [13 years ago](https://wordpress.org/support/topic/client-page-css/#post-3746683)
 * No problem…glad I could help.

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

The topic ‘Client Page CSS’ is closed to new replies.

 * ![](https://ps.w.org/simple-staff-list/assets/icon-256x256.png?rev=2718196)
 * [Simple Staff List](https://wordpress.org/plugins/simple-staff-list/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-staff-list/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-staff-list/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-staff-list/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-staff-list/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-staff-list/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Brett Shumaker](https://wordpress.org/support/users/brettshumaker/)
 * Last activity: [13 years ago](https://wordpress.org/support/topic/client-page-css/#post-3746683)
 * Status: resolved