X7ROOT File Manager
Current Path:
/home/freights/public_html/wp-content/themes/logistik/inc
home
/
freights
/
public_html
/
wp-content
/
themes
/
logistik
/
inc
/
??
..
??
demo-data
??
essential-scripts.php
(3.81 KB)
??
hooks
??
logistik-breadcrumbs.php
(7.27 KB)
??
logistik-commoncss.php
(1.93 KB)
??
logistik-constants.php
(1.67 KB)
??
logistik-framework
??
logistik-functions.php
(32.03 KB)
??
logistik-widgets-reg.php
(4.32 KB)
??
theme-setup.php
(2.35 KB)
??
woo-hooks
??
wp-html-helper.php
(7.86 KB)
??
wp_bootstrap_pagination.php
(2.76 KB)
Editing: theme-setup.php
<?php /** * @Packge : Logistik * @Version : 1.0 * @Author : Themeholy * @Author URI : https://themeholy.com/ * */ // Block direct access if ( !defined( 'ABSPATH' ) ) { exit; } if ( ! function_exists( 'logistik_setup' ) ){ function logistik_setup() { // content width $GLOBALS['content_width'] = apply_filters( 'logistik_content_width', 751 ); // language file load_theme_textdomain( 'logistik', get_template_directory() . '/languages' ); // Add default posts and comments RSS feed links to head. add_theme_support( 'automatic-feed-links' ); // title tag add_theme_support( 'title-tag' ); // post thumbnails add_theme_support( 'post-thumbnails' ); add_image_size( 'logistik-shop-single',597,544,true ); add_image_size( 'logistik-shop-thumb',100,106,true ); add_image_size( 'logistik-shop-small-image',294,312,true ); add_image_size( 'logistik_80X80',80,80,true ); register_nav_menus( array( 'primary-menu' => esc_html__( 'Primary Menu', 'logistik' ), 'footer-menu' => esc_html__( 'Footer Menu', 'logistik' ), ) ); //support html5 add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', 'script', 'style' ) ); // support post format add_theme_support( 'post-formats', array( 'audio', 'video', 'gallery', 'quote') ); // Custom logo add_theme_support( 'custom-logo' ); // Add theme support for selective refresh for widgets. add_theme_support( 'customize-selective-refresh-widgets' ); // Add support for Block Styles. add_theme_support( 'wp-block-styles' ); // Add support for full and wide align images. add_theme_support( 'align-wide' ); // Add support for editor styles. add_theme_support( 'editor-styles' ); // Enqueue editor styles. add_editor_style( 'assets/css/style-editor.css' ); // Add support for responsive embedded content. add_theme_support( 'responsive-embeds' ); // support woocommerce add_theme_support( 'woocommerce' ); add_theme_support( 'wc-product-gallery-zoom' ); add_theme_support( 'wc-product-gallery-slider' ); } } add_action( 'after_setup_theme', 'logistik_setup' );
Upload File
Create Folder