Title: flexslider not loading sometimes
Last modified: August 30, 2016

---

# flexslider not loading sometimes

 *  Resolved [Hrabroslav](https://wordpress.org/support/users/hrabroslav/)
 * (@hrabroslav)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/flexslider-not-loading-sometimes/)
 * I have a problem on one of my WP portals with hueman theme with flexslider not
   loading sometimes.
 * When it doesn’t load, there is “Uncaught TypeError: jQuery(…).flexslider is not
   a function” error in console.

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

 *  [WEN Solutions](https://wordpress.org/support/users/wen-solutions/)
 * (@wen-solutions)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/flexslider-not-loading-sometimes/#post-6711812)
 * Try the below process,
    Go to functions.php file Go to enqueue section Inplace
   of enqueue file, inside `array()` write `array('jquery')`
 * If not work feel free to ask again.
    Please provide the link of your site if 
   not work, i will do my best to solve it. Thanks
 *  Thread Starter [Hrabroslav](https://wordpress.org/support/users/hrabroslav/)
 * (@hrabroslav)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/flexslider-not-loading-sometimes/#post-6711822)
 *     ```
       if ( ! function_exists( 'alx_scripts' ) ) {
   
       	function alx_scripts() {
       		wp_enqueue_script( 'flexslider', get_template_directory_uri() . '/js/jquery.flexslider.min.js', array( 'jquery' ),'', false );
       		wp_enqueue_script( 'jplayer', get_template_directory_uri() . '/js/jquery.jplayer.min.js', array( 'jquery' ),'', true );
       		wp_enqueue_script( 'scripts', get_template_directory_uri() . '/js/scripts.js', array( 'jquery' ),'', true );
       		if ( is_singular() ) { wp_enqueue_script( 'sharrre', get_template_directory_uri() . '/js/jquery.sharrre.min.js', array( 'jquery' ),'', true ); }
       		if ( is_singular() && get_option( 'thread_comments' ) )	{ wp_enqueue_script( 'comment-reply' ); }
       	}  
   
       }
       add_action( 'wp_enqueue_scripts', 'alx_scripts' );
       ```
   
 * This is the original function from functions.php which already has solution you
   provided used.
 * My site is [http://www.kd-sticna.si](http://www.kd-sticna.si/).
 * Thank you for looking at my problem.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/flexslider-not-loading-sometimes/#post-6711911)
 * I just checked your site in Chrome, IE and FF. Loaded fine in all three browsers.
   You might find something related in [one of these posts](https://www.google.com/search?q=Uncaught+TypeError%3A+jQuery(...).flexslider+is+not+a+function&rlz=1C1NNVC_enUS491US548&oq=Uncaught+TypeError%3A+jQuery(...).flexslider+is+not+a+function&aqs=chrome..69i57&sourceid=chrome&es_sm=0&ie=UTF-8).
 *  [WEN Solutions](https://wordpress.org/support/users/wen-solutions/)
 * (@wen-solutions)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/flexslider-not-loading-sometimes/#post-6711919)
 * [@hrabroslav](https://wordpress.org/support/users/hrabroslav/) I also checked
   your site, but it looks fine. No such errors mentioned by you found. I will check
   your site after some time too. If found i will try to help you out.
    Thanks
 *  Thread Starter [Hrabroslav](https://wordpress.org/support/users/hrabroslav/)
 * (@hrabroslav)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/flexslider-not-loading-sometimes/#post-6711925)
 * I’m sorry for not closing the thread earier.
 *  I figured that EU Cookies plugin was the biggest trouble maker (even if on another
   WP with same plugins and theme it worked fine) and changed it for another one.
   Flexslider loads fine since then.

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

The topic ‘flexslider not loading sometimes’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [flexslider](https://wordpress.org/support/topic-tag/flexslider/)
 * [not-loading](https://wordpress.org/support/topic-tag/not-loading/)
 * [Sometimes](https://wordpress.org/support/topic-tag/sometimes/)

 * 5 replies
 * 3 participants
 * Last reply from: [Hrabroslav](https://wordpress.org/support/users/hrabroslav/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/flexslider-not-loading-sometimes/#post-6711925)
 * Status: resolved