PATH:
home
/
carfac
/
public_html
/
unitphotog
/
wp-content
/
themes
/
leadx
/
framework
<?php /* Register Fonts */ function leadx_fonts_url() { $fonts_url = ''; /* Translators: If there are characters in your language that are not * supported by Lato, translate this to 'off'. Do not translate * into your own language. */ $google_font1 = esc_html_x( 'on', 'Open Sans font: on or off', 'leadx' ); $google_font2 = esc_html_x( 'on', 'Montserrat font: on or off', 'leadx' ); $google_font3 = esc_html_x( 'on', 'Merriweather font: on or off', 'leadx' ); if ( 'off' !== $google_font1 || 'off' !== $google_font2 ) { $font_families = array(); if ( 'off' !== $google_font1 ) { $font_families[] = 'Open+Sans:300,300i,400,400i,600,700'; } if ( 'off' !== $google_font2 ) { $font_families[] = 'Montserrat:400,700'; } if ( 'off' !== $google_font3 ) { $font_families[] = 'Merriweather:400,400i'; } $query_args = array( 'family' => urlencode( implode( '|', $font_families ) ), 'subset' => urlencode( 'latin,latin-ext' ), ); $fonts_url = add_query_arg( $query_args, 'https://fonts.googleapis.com/css' ); } return esc_url_raw( $fonts_url ); } /** * leadx enqueue scripts * */ function leadx_scripts() { wp_enqueue_style( 'leadx-fonts', leadx_fonts_url(), array(), null ); /* Visual Composer CSS - Load now to avoid delay during page load and to avoid !important in leadx css */ wp_enqueue_style('js_composer_front'); wp_register_style( 'woocommerce', get_template_directory_uri() . '/css/woocommerce.min.css' ); if ( class_exists( 'woocommerce' ) ) { wp_enqueue_style( 'woocommerce' ); } wp_enqueue_style( 'leadx-theme', get_stylesheet_directory_uri() . '/css/theme.min.css', array(), '1.2.2' ); wp_enqueue_style( 'leadx-font', get_template_directory_uri() . '/css/ttbase-font.min.css', array(), '1.0.0' ); wp_enqueue_script( 'bootstrap', get_template_directory_uri() . '/js/bootstrap.min.js', array('jquery'), '20160901', true ); wp_enqueue_script( 'bootstrap-filestyle', get_template_directory_uri() . '/js/bootstrap-filestyle.min.js', array('jquery', 'bootstrap'), '20160901', true ); wp_enqueue_script( 'leadx-scripts', get_template_directory_uri() . '/js/scripts.min.js', array('jquery'), '20161205', true ); wp_enqueue_script( 'leadx-js', get_template_directory_uri() . '/js/leadx-main.min.js', array('jquery', 'leadx-scripts', 'bootstrap-filestyle'), null, true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'leadx_scripts' );
[-] enqueue.php
[edit]
[-] setup.php
[edit]
[+]
plugins
[+]
config
[-] customizer.php
[edit]
[-] menu_widgets.php
[edit]
[-] extras.php
[edit]
[+]
classes
[+]
visual-composer
[-] editor-style.css
[edit]
[-] theme-support.php
[edit]
[-] template-tags.php
[edit]
[+]
customizer
[+]
menu
[-] .htaccess
[edit]
[-] theme-functions.php
[edit]
[+]
..