0

I add flexslider to my theme homepage http://templategraphy.com/wp-demo/bluto/ but it didn'not show on my homepage

Here is the order of js i placed in function.php

function theme_name_scripts() {

    wp_enqueue_style('style-css', get_stylesheet_uri());    
    wp_enqueue_style('ico-moon.css', get_stylesheet_directory_uri() . '/css/ico-moon.css');   
    wp_enqueue_style('flexslider.css', get_stylesheet_directory_uri() . '/css/flexslider.css');
    wp_enqueue_style('jquery.fancybox-1.3.4.css', get_stylesheet_directory_uri() . '/css/jquery.fancybox-1.3.4.css');
    wp_enqueue_script('jquery-1.8.3.min.js', get_stylesheet_directory_uri() . '/js/jquery-1.8.3.min.js');       
    wp_enqueue_script('jquery-ui-1.10.0.custom.min.js', get_stylesheet_directory_uri() . '/js/jquery-ui-1.10.0.custom.min.js'); 
    wp_enqueue_script('jquery.hoverizr.js', get_stylesheet_directory_uri() . '/js/jquery.hoverizr.js');
    wp_enqueue_script('jquery.isotope.min.js', get_stylesheet_directory_uri() . '/js/jquery.isotope.min.js');       
    wp_enqueue_script('jquery.flexslider-min.js', get_stylesheet_directory_uri() . '/js/jquery.flexslider-min.js'); 
    wp_enqueue_script('jquery.fancybox-1.3.4.pack.js', get_stylesheet_directory_uri() . '/js/jquery.fancybox-1.3.4.pack.js');       
    wp_enqueue_script('jquery.nicescroll.min.js', get_stylesheet_directory_uri() . '/js/jquery.nicescroll.min.js');  
    wp_enqueue_script('scripts.js', get_stylesheet_directory_uri() . '/js/scripts.js');             

}
add_action( 'wp_enqueue_scripts', 'theme_name_scripts' );

Please suggest some solution is there any issue regarding my js order or js conflict any suggestion is helpful for me.

  • You are getting any error? – Bindiya Patoliya Jul 7 '14 at 7:33
  • @BindiyaPatoliya yes it show error on firebug console TypeError: $(...).jflickrfeed is not a function – Payal Jul 7 '14 at 7:37
  • In which file this error? – Bindiya Patoliya Jul 7 '14 at 7:49
  • i am getting an error in my flexslider-min.js file – Payal Jul 7 '14 at 7:52
  • please suggest some solutions what i am doing wrong. – Payal Jul 7 '14 at 9:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.