Title: script.php and css.php on front-end
Last modified: August 21, 2016

---

# script.php and css.php on front-end

 *  Resolved [perdrix](https://wordpress.org/support/users/perdrix/)
 * (@perdrix)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/scriptphp-and-cssphp-on-front-end/)
 * XYDAC, what purpose are the script.php and css.php called on the front end for?
   It appears to me that they are only used when one of your widgets is being used.
   Am I correct in that? I disabled them directly in the index.php by removing the
   lines, but want to insure I’m not missing anything. My site appears to work fine
   without them. I only use shortcodes in my page layout to reference Ultimate, 
   and that should function regardless of the js or css since I control the styling
   myself?
 * If in fact those scripts are only used when the widgets are being used, shouldn’t
   they then be called only when the widget is active?
 * is_active_widget
 * Thanks! Dennis
 * [http://wordpress.org/plugins/ultimate-cms/](http://wordpress.org/plugins/ultimate-cms/)

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

 *  Plugin Author [XYDAC](https://wordpress.org/support/users/deepakseth/)
 * (@deepakseth)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/scriptphp-and-cssphp-on-front-end/#post-4227044)
 * Actually, script.php and css.php contain all the scripting and styling information
   for all active taxonomies, post types and everything…
 * Basically anything that you put in Custom CSS and Custom JS goes into these files.
 * I have taken care of not puting deactivated css and js in these files.
    Also,
   They are required for backend admin panel as well.
 * Regards,
    -Xydac
 *  Thread Starter [perdrix](https://wordpress.org/support/users/perdrix/)
 * (@perdrix)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/scriptphp-and-cssphp-on-front-end/#post-4227065)
 * Thanks for the quick reply Xydac. In looking at the Taxonomy module I now see
   the fields for both custom css and js… and mine our empty, hence the reason I’m
   not having issues with disabling both from showing on the front end.
 * There is a separate load of script and css for the backend of the site which 
   I left alone.
 * I’ll just have to notate that I’ve done this in the event I need to insert css
   or javascript into the backend in the future.
 * Thanks! Dennis

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

The topic ‘script.php and css.php on front-end’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/ultimate-cms_ce5c48.svg)
 * [Ultimate CMS](https://wordpress.org/plugins/ultimate-cms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-cms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-cms/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-cms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-cms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-cms/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [perdrix](https://wordpress.org/support/users/perdrix/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/scriptphp-and-cssphp-on-front-end/#post-4227065)
 * Status: resolved