ACIL FM
Dark
Refresh
Current DIR:
/home/mhhtmff/www/site/wp-content/themes/n-hub
/
home
mhhtmff
www
site
wp-content
themes
n-hub
Upload
Zip Selected
Delete Selected
Pilih semua
Nama
Ukuran
Permission
Aksi
images
-
chmod
Open
Rename
Delete
functions.php
2.18 MB
chmod
View
DL
Edit
Rename
Delete
screenshot.png
18.76 MB
chmod
View
DL
Edit
Rename
Delete
scripts.js
2.11 MB
chmod
View
DL
Edit
Rename
Delete
single-team.php
192 B
chmod
View
DL
Edit
Rename
Delete
style.css
6.77 MB
chmod
View
DL
Edit
Rename
Delete
Edit file: /home/mhhtmff/www/site/wp-content/themes/n-hub/functions.php
<?php function hello_elementor_child_enqueue_scripts() { wp_enqueue_style( 'hello-elementor-child-style', get_stylesheet_directory_uri() . '/style.css', ['hello-elementor-theme-style'], '1.0.0' ); } add_action( 'wp_enqueue_scripts', 'hello_elementor_child_enqueue_scripts', 20 ); function custom_header_scripts() { if ($GLOBALS['pagenow'] != 'wp-login.php' && !is_admin()) { wp_register_script('swiper-hdg', 'https://cdn.jsdelivr.net/npm/swiper@8/swiper-bundle.min.js', array()); wp_enqueue_script('swiper-hdg'); wp_register_script('customscripts', get_stylesheet_directory_uri() . '/scripts.js', array('jquery')); wp_enqueue_script('customscripts'); } } add_action('init', 'custom_header_scripts'); // SVG function add_file_types_to_uploads($file_types){ $new_filetypes = array(); $new_filetypes['svg'] = 'image/svg+xml'; $file_types = array_merge($file_types, $new_filetypes ); return $file_types; } add_action('upload_mimes', 'add_file_types_to_uploads'); // Remove WP version function wpversion_remove_version() { return ''; } add_filter('the_generator', 'wpversion_remove_version'); // Remove wp version param from any enqueued scripts function vc_remove_wp_ver_css_js( $src ) { if ( strpos( $src, 'ver=' ) ) $src = remove_query_arg( 'ver', $src ); return $src; } add_filter( 'style_loader_src', 'vc_remove_wp_ver_css_js', 9999 ); add_filter( 'script_loader_src', 'vc_remove_wp_ver_css_js', 9999 ); /* // Remove auto p and br from contact form 7 add_filter('wpcf7_autop_or_not', '__return_false'); */ // Disable the image scaling add_filter( 'big_image_size_threshold', '__return_false' ); // Add to the footer add_action('wp_footer', 'add_to_the_footer'); function add_to_the_footer(){ ?> <?php } // Add to the head add_action('wp_head', 'add_to_the_head'); function add_to_the_head(){ ?> <?php } /* // Session add_action('init', 'startSession', 1); function startSession() { if(!session_id()) { session_start(); } } */ /* // Encode string function encode2($str) { $str = mb_convert_encoding($str , 'UTF-32', 'UTF-8'); $t = unpack("N*", $str); $t = array_map(function($n) { return "&#$n;"; }, $t); return implode("", $t); } */
Simpan
Batal
Isi Zip:
Unzip
Create
Buat Folder
Buat File
Terminal / Execute
Run
Chmod Bulk
All File
All Folder
All File dan Folder
Apply