File manager - Edit - /home/vblioqus/y999-game.pro/wp-content/themes/stcustom-6-new/inc/register-scripts.php
Back
<?php /* * In this file we will register all the styles and scripts reuired in theme. */ function stylo_register_scripts_styles() { global $xpanel; //jQuery wp_deregister_script( 'jquery'); wp_register_script( 'jquery', get_template_directory_uri() . '/js/jquery.js', '', FALSE, ''); wp_enqueue_script( 'jquery', get_template_directory_uri() . '/js/jquery.js', '', FALSE, ''); //Bootstrap CSS wp_enqueue_style( 'stylo-bootstrap', get_template_directory_uri() . '/bootstrap/css/bootstrap.css' ); //Default Styleheet wp_enqueue_style( 'stylo-style', get_stylesheet_uri() ); //Font Awesome CSS wp_enqueue_style( 'font-awesome', get_template_directory_uri() . '/fontawesome/css/all.min.css' ); //wp_enqueue_style( 'font-awesome-v4', get_template_directory_uri() . '/fontawesome/css/v4-shims.min.css' ); //wp_enqueue_script( 'fontawesome', 'https://kit.fontawesome.com/eb66c74e1a.js', array(), '', true); //Bootstrap JS wp_enqueue_script( 'stylo-bootstrap-j', get_template_directory_uri() . '/bootstrap/js/bootstrap.min.js', array(), '', true); //Scrollbar JS //Navigation.js wp_enqueue_script( 'stylo-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } //Match Height JS wp_enqueue_script( 'stylo-match-height', get_template_directory_uri() . '/js/jquery.matchHeight.js', array(), '', true); //Owl carousel wp_enqueue_style( 'stylo-carousel-css', get_template_directory_uri() . '/css/owl.carousel.css' ); wp_enqueue_style( 'stylo-carousel-theme-css', get_template_directory_uri() . '/css/owl.theme.default.css' ); wp_enqueue_script( 'stylo-carousel-js', get_template_directory_uri() . '/js/owl.carousel.min.js', array(), '', false); //JS Theme Functions wp_enqueue_script( 'stylo-js-functions', get_template_directory_uri() . '/js/js-functions.js', array(), '', true); } add_action( 'wp_enqueue_scripts', 'stylo_register_scripts_styles' );
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0.1 |
proxy
|
phpinfo
|
Settings