/home/edulekha/sriramaaresorts.com/wp-content/themes/getleads/core/enqueues/frontend/static.php
<?php if (!defined('ABSPATH')) die('Direct access forbidden.');
/**
* enqueue all theme scripts and styles
*/
// stylesheets
// ----------------------------------------------------------------------------------------
// Poppins:wght@600;700&family=Rubik:wght@400;500;700&display=swap
if ( !is_admin() ) {
// 3rd party css
wp_enqueue_style( 'fonts', getleads_google_fonts_url(['Open Sans:400,300,300italic,400italic,500,700,700italic']), null, GETLEADS_VERSION );
wp_enqueue_style( 'bootstrap', GETLEADS_CSS . '/bootstrap.min.css', null, GETLEADS_VERSION );
wp_enqueue_style( 'dashicons' );
wp_enqueue_style( 'font-awesome', GETLEADS_CSS . '/font-awesome.css', null, GETLEADS_VERSION );
wp_enqueue_style( 'getleads-iconfont', GETLEADS_CSS . '/icon-font.css', null, GETLEADS_VERSION );
// theme css
wp_enqueue_style( 'getleads-blog', GETLEADS_CSS . '/blog.css', null, GETLEADS_VERSION );
wp_enqueue_style( 'getleads-gutenberg-custom', GETLEADS_CSS . '/gutenberg-custom.css', null, GETLEADS_VERSION );
wp_enqueue_style( 'datepicker', GETLEADS_CSS . '/datepicker.css', null, GETLEADS_VERSION );
if ( class_exists( 'WooCommerce' ) ) {
wp_enqueue_style( 'getleads-woocommerce', GETLEADS_CSS . '/xs-woocommerce.css', null, GETLEADS_VERSION );
}
wp_enqueue_style( 'getleads-master', GETLEADS_CSS . '/master.css', null, GETLEADS_VERSION );
}
// javascripts
// ----------------------------------------------------------------------------------------
if ( !is_admin() ) {
// 3rd party scripts
wp_enqueue_script( 'bootstrap', GETLEADS_JS . '/bootstrap.min.js', array( 'jquery' ), GETLEADS_VERSION, true );
wp_enqueue_script( 'bootstrap-datepicker', GETLEADS_JS . '/bootstrap-datepicker.js', array( 'jquery' ), GETLEADS_VERSION, true );
wp_enqueue_script( 'Popper', GETLEADS_JS . '/Popper.js', array( 'jquery' ), GETLEADS_VERSION, true );
// theme scripts
wp_enqueue_script( 'getleads-script', GETLEADS_JS . '/script.js', array( 'jquery' ), GETLEADS_VERSION, true );
// Load WordPress Comment js
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
wp_enqueue_script( 'comment-reply' );
}
}