تست کنید /* -------------------------------------------------------------------- * Register all scripts which are needed for theme * -------------------------------------------------------------------- */ if (!function_exists('pi_register_scripts')) { function pi_register_scripts() { if (!is_admin()) { global $pi_theme_options; /* jQuery Modernizr plugin */ wp_register_script('modernizr', TEMPLATEURL . '/js/modernizr.custom.js', array('jquery'), '1.0', TRUE); /* CarouFredSel carousel plugin */ wp_register_script('caroufredsel', TEMPLATEURL . '/js/jquer