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: essential-scripts.php
<?php /** * @Packge : Logistik * @Version : 1.0 * @Author : Themeholy * @Author URI : https://themeholy.com/ * */ // Block direct access if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Enqueue scripts and styles. */ function logistik_essential_scripts() { wp_enqueue_style( 'logistik-style', get_stylesheet_uri() ,array(), wp_get_theme()->get( 'Version' ) ); // google font wp_enqueue_style( 'logistik-fonts', logistik_google_fonts() ,array(), null ); // Bootstrap Min wp_enqueue_style( 'bootstrap', get_theme_file_uri( '/assets/css/bootstrap.min.css' ) ,array(), '5.0.0' ); // Font Awesome Six wp_enqueue_style( 'fontawesome', get_theme_file_uri( '/assets/css/fontawesome.min.css' ) ,array(), '6.1.1' ); // Magnific Popup wp_enqueue_style( 'magnific-popup', get_theme_file_uri( '/assets/css/magnific-popup.min.css' ), array(), '1.0' ); // Slick css wp_enqueue_style( 'slick', get_theme_file_uri( '/assets/css/slick.min.css' ) ,array(), '4.0.13' ); // flipster css wp_enqueue_style( 'flipster', get_theme_file_uri( '/assets/css/jquery.flipster.min.css' ) ,array(), '1.1.5' ); // logistik main style wp_enqueue_style( 'logistik-main-style', get_theme_file_uri('/assets/css/style.css') ,array(), wp_get_theme()->get( 'Version' ) ); // Load Js // Bootstrap wp_enqueue_script( 'bootstrap', get_theme_file_uri( '/assets/js/bootstrap.min.js' ), array( 'jquery' ), '5.0.0', true ); // Slick wp_enqueue_script( 'slick', get_theme_file_uri( '/assets/js/slick.min.js' ), array('jquery'), '1.0.0', true ); // magnific popup wp_enqueue_script( 'magnific-popup', get_theme_file_uri( '/assets/js/jquery.magnific-popup.min.js' ), array('jquery'), '1.0.0', true ); // Counterup wp_enqueue_script( 'counterup', get_theme_file_uri( '/assets/js/jquery.counterup.min.js' ), array( 'jquery' ), '4.0.0', true ); //jquery ui wp_enqueue_script( 'jquery-ui', get_theme_file_uri( '/assets/js/jquery-ui.min.js' ), array( 'jquery' ), '1.12.1', true ); // Isotope wp_enqueue_script( 'isototpe-pkgd', get_theme_file_uri( '/assets/js/isotope.pkgd.min.js' ), array( 'jquery' ), '1.0.0', true ); // Isotope Imagesloaded wp_enqueue_script( 'imagesloaded' ); // nice-select wp_enqueue_script( 'nice-select', get_theme_file_uri( '/assets/js/nice-select.min.js' ), array( 'jquery' ), '1.0.0', true ); // flipster js wp_enqueue_script( 'flipster-js', get_theme_file_uri( '/assets/js/jquery.flipster.min.js' ), array( 'jquery' ), '1.1.5', true ); // main script wp_enqueue_script( 'logistik-main-script', get_theme_file_uri( '/assets/js/main.js' ), array('jquery'), wp_get_theme()->get( 'Version' ), true ); // comment reply if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'logistik_essential_scripts',99 ); function logistik_block_editor_assets( ) { // Add custom fonts. wp_enqueue_style( 'logistik-editor-fonts', logistik_google_fonts(), array(), null ); } add_action( 'enqueue_block_editor_assets', 'logistik_block_editor_assets' ); /* Register Fonts */ function logistik_google_fonts() { $font_url = ''; /* Translators: If there are characters in your language that are not supported by chosen font(s), translate this to 'off'. Do not translate into your own language. */ if ( 'off' !== _x( 'on', 'Google font: on or off', 'logistik' ) ) { $font_url = 'https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;700&family=Red+Hat+Display:wght@300;400;500;600;700;800&family=Roboto:wght@300;400;500;700;900&display=swap'; } return $font_url; }
Upload File
Create Folder