Title: Removing TablePress css/script from frontpage
Last modified: August 21, 2016

---

# Removing TablePress css/script from frontpage

 *  Resolved [Lupusisko](https://wordpress.org/support/users/lupusisko/)
 * (@lupusisko)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/removing-tablepress-cssscript-from-frontpage/)
 * Hi,
 * I’ve been using TablePress only on few specific pages of my site which is consisting
   of more than 20k Posts. Is there any way to generally disable TablePress loading(
   both css and execution of widget) on most of the pages and to add this into those
   specific URL’s?
 * [https://wordpress.org/plugins/tablepress/](https://wordpress.org/plugins/tablepress/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/removing-tablepress-cssscript-from-frontpage/#post-5088169)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * For this, you can use a plugin filter hook to turn off the loading of the file.
   With that, you can write some PHP code and put that into the “functions.php” 
   of the theme.
    For the home page, this should be helpful: [https://gist.github.com/WebEndevSnippets/5766651](https://gist.github.com/WebEndevSnippets/5766651)
 * For more fine-grained control, see [http://www.jimmyscode.com/load-tablepress-css-conditionally/](http://www.jimmyscode.com/load-tablepress-css-conditionally/)
   which is based on [http://wordpress.org/support/topic/conditionally-load-tablepress-stylesheets?replies=17](http://wordpress.org/support/topic/conditionally-load-tablepress-stylesheets?replies=17)
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘Removing TablePress css/script from frontpage’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/removing-tablepress-cssscript-from-frontpage/#post-5088169)
 * Status: resolved