Title: remove preloader
Last modified: August 31, 2016

---

# remove preloader

 *  [jhnpldng](https://wordpress.org/support/users/jhnpldng/)
 * (@jhnpldng)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/remove-preloader-1/)
 * Hi, the preloader animation javascript is conflicting with a plugin. Could you
   tell me how to remove it via child theme functions.php please?
    It’s deactivating
   hyperlinks on Responsive Pricing Table buttons.
 * This is the code that’s doing it.
 *     ```
       <script>
       jQuery(function($){
       $(window).on('load', function(){
       setTimeout(function(){
       $('#preloader').fadeOut(1000); }, 10000)
       $('#preloader').fadeOut(1000);
       $('#mainframe').animate({opacity:1});
       });
       $(window).on('unload', function(){
       $('#preloader').fadeIn(100);
       });
       $('body').on('click','a', function(e){
       e.preventDefault();
       if($(this).attr('target')==undefined &&
       this.href.indexOf('#')==-1) {
       $('#preloader').fadeIn(100);
       location.href = this.href;
       }
       });
   
       $('#preloader').on('click', function(){
       alert(1);
       $('#preloader').fadeOut(1000);
       });
   
       setTimeout(function(){ $('#preloader').fadeOut(1000);
       }, 15000)
       });
       </script>
       ```
   
 * Thanks

The topic ‘remove preloader’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/the-next/1.1.0/screenshot.png)
 * The Next
 * [Support Threads](https://wordpress.org/support/theme/the-next/)
 * [Active Topics](https://wordpress.org/support/theme/the-next/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/the-next/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/the-next/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [jhnpldng](https://wordpress.org/support/users/jhnpldng/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/remove-preloader-1/)
 * Status: not resolved