Title: Horror Story
Last modified: March 9, 2017

---

# Horror Story

 *  [v123shine](https://wordpress.org/support/users/v123shine/)
 * (@v123shine)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/)
 * First, this is great plugin. I love it so much. I have a plan to create a music
   community using this plugin.
 * Before I buy “Ultimate Member” extensions, I try to install a new WordPress script
   in my localhost, after that I add 10 sample Posts. Everything work fine. I just
   need 1-3 seconds for access WordPress Dashboard, Homepage and Single page.
 * After that I installed “Ultimate Member” plugin, and my wordpress site become
   very slow. For access “Homepage” I need more than 11 seconds. For access “Single”
   page I need more than 8 seconds. For access “Dashboard Admin” I need more than
   8 seconds.
 * I don’t mind if my Dashboard Admin become slow. But that a big problem if my 
   Homepage and Single page become very slow, that very bad for SEO.
 * My question is, how to exclude or disable “Ultimate Member” script load in “Homepage”
   and “Single” page??
 * Something like this
 *     ```
       <?php if(!is_home() && !is_single()) { ?>
       ...Ultimate Member load code...
       <?php } ?>
       ```
   
 * Thank you.
    -  This topic was modified 9 years, 1 month ago by [v123shine](https://wordpress.org/support/users/v123shine/).
    -  This topic was modified 9 years, 1 month ago by [v123shine](https://wordpress.org/support/users/v123shine/).

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

 *  [kerouac](https://wordpress.org/support/users/kerouac/)
 * (@kerouac)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8899529)
 * You can try using the Plugin Organizer plugin. Then you can set which plugins
   you want to load on any page/post.
 * Plugin Organizer
    [https://wordpress.org/plugins/plugin-organizer/](https://wordpress.org/plugins/plugin-organizer/)
 * You can also try WP Asset CleanUp plugin to exclude css/js loading on specific
   pages.
 * WP Asset CleanUp
    [https://wordpress.org/plugins/wp-asset-clean-up/](https://wordpress.org/plugins/wp-asset-clean-up/)
 *  Thread Starter [v123shine](https://wordpress.org/support/users/v123shine/)
 * (@v123shine)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8899749)
 * Dear [@kerouac](https://wordpress.org/support/users/kerouac/),
 * Thank you very for your kindly suggestion.
 * I know about Plugin Organizer, but I don’t want use many plugins in my site. 
   I prefer to edit the code manually.
 * I try to add this code in **um-init.php** but still not work.
 *     ```
       if(!is_home() && !is_single()) {
       	class UM_API {
       	... UM code...
       	}
       }
       global $ultimatemember;
       $ultimatemember = new UM_API();
       ```
   
 * OR
 *     ```
       if(is_admin() || is_page()) {
       	class UM_API {
       	... UM code...
       	}
       }
       global $ultimatemember;
       $ultimatemember = new UM_API();
       ```
   
 * Can you help me, please!
    Thanks
    -  This reply was modified 9 years, 1 month ago by [v123shine](https://wordpress.org/support/users/v123shine/).
 *  [kerouac](https://wordpress.org/support/users/kerouac/)
 * (@kerouac)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8900257)
 * Wish I could be more helpful.
 * Maybe this link will help. It shows how to make a change to the functions file
   to disable plugins.
 * [http://acoupletravelers.com/how-to-disable-plugins-on-home-page/](http://acoupletravelers.com/how-to-disable-plugins-on-home-page/)
 *  Thread Starter [v123shine](https://wordpress.org/support/users/v123shine/)
 * (@v123shine)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8901063)
 * Dear [@kerouac](https://wordpress.org/support/users/kerouac/),
 * Thank you very much for your help. I will try your suggestion. I hope I can solve
   my problem.
 * Thanks
 *  Thread Starter [v123shine](https://wordpress.org/support/users/v123shine/)
 * (@v123shine)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8905456)
 * Dear [@kerouac](https://wordpress.org/support/users/kerouac/),
 * I’m very tired, I’ve tried again and again but always failed.
 * I don’t understand why the plugin author [@ultimatemember](https://wordpress.org/support/users/ultimatemember/)
   and [@champsupertramp](https://wordpress.org/support/users/champsupertramp/) 
   don’t want help me. I think this is very easy for them.
 * Seriously, this makes me hesitate to buy Ultimate Member Paid extensions from
   their site >> [https://ultimatemember.com/core-extensions-bundle/](https://ultimatemember.com/core-extensions-bundle/)
 * Thanks.
 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8914965)
 * Hi [@v123shine](https://wordpress.org/support/users/v123shine/),
 * We apologize for the delays as we’ve quite a lot of backlogs and it is taking
   time before i come back to your ticket. Have you tried excluding the scripts 
   using the option in UM > Settings > Advanced> Never load plugin JS and CSS on
   homepage OR Never load plugin JS and CSS on the following pages?
 * Thanks.
 *  Thread Starter [v123shine](https://wordpress.org/support/users/v123shine/)
 * (@v123shine)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8924998)
 * Dear [@ultimatemembersupport](https://wordpress.org/support/users/ultimatemembersupport/),
   thank you for your response. Seriously I love this plugin. I will buy Ultimate
   Member paid extensions if you can help me to solve the problem.
 * My music site already run more than 2 years. I have more than 10000+ single post.
   I think that is not possible use this feature: UM > Settings > Advanced> Never
   load plugin JS and CSS OR Never load plugin JS and CSS on the following pages.
 * Why? Because I have more than 10k single post in my real site.
 * Can you help me, please!
 * Thanks.
 *  Thread Starter [v123shine](https://wordpress.org/support/users/v123shine/)
 * (@v123shine)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8926092)
 * **Update**:
 * Dear [@ultimatemembersupport](https://wordpress.org/support/users/ultimatemembersupport/),
 * I try to disable the the header and footer, like this:
 *     ```
       <?php // get_header(); ?>
       <?php // get_footer(); ?>
       ```
   
 * But my wordpress site still very slow. I think the problem come from “database
   query”, not from enqueue style or script.
 * I really hope you can help me.
 * Thanks.
 *  Plugin Support [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * (@ultimatemembersupport)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8940044)
 * Hi [@v123shine](https://wordpress.org/support/users/v123shine/),
 * Can you please install the plugin Query Monitor and see if any of the slow queries
   is related to Ultimate Member?
 * Also, for pre-purchase questions you can submit a ticket on this link:
    [https://ultimatemember.com/pre-purchase-question/](https://ultimatemember.com/pre-purchase-question/)
 * Thanks.

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

The topic ‘Horror Story’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [Ultimate Member Support](https://wordpress.org/support/users/ultimatemembersupport/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/horror-story/#post-8940044)
 * Status: not resolved