REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 2.53 KB
Close
/proc/self/root/home/nshryvcy/blissfulnepal.com/wp-content/themes/traveltour/include/include-script.php
Text
Base64
<?php /* * Goodlayers Script Inclusion File * --------------------------------------------------------------------- * This file contains the script that helps you include the script to * the location you want * --------------------------------------------------------------------- */ // return the custom stylesheet path if( !function_exists('traveltour_get_style_custom') ){ function traveltour_get_style_custom($local = false){ $upload_dir = wp_upload_dir(); $filename = '/traveltour-style-custom.css'; $local_file = $upload_dir['basedir'] . $filename; if( $local ){ return $local_file; }else{ if( file_exists($local_file) ){ $filemtime = filemtime($local_file); if( is_ssl() ){ $upload_dir['baseurl'] = str_replace('http://', 'https://', $upload_dir['baseurl']); } return $upload_dir['baseurl'] . $filename . '?' . $filemtime; }else{ return get_template_directory_uri() . '/css/style-custom.css'; } } } } // use to load theme style.css and necessary wordpress script on specific page add_action( 'wp_enqueue_scripts', 'traveltour_include_scripts' ); if( !function_exists('traveltour_include_scripts') ){ function traveltour_include_scripts(){ // include site style wp_enqueue_style('traveltour-style-core', get_template_directory_uri() . '/css/style-core.css'); if( !is_customize_preview() ){ wp_enqueue_style('traveltour-custom-style', traveltour_get_style_custom()); } if( is_child_theme() ){ wp_enqueue_style('traveltour-child-theme-style', get_stylesheet_uri()); } // include site script wp_enqueue_script('traveltour-script-core', get_template_directory_uri() . '/js/script-core.js', array('jquery', 'jquery-effects-core'), '1.0.0', true ); wp_localize_script('traveltour-script-core', 'traveltour_script_core', array( 'home_url' => home_url('/') )); // wordpress comments script if( is_singular() && comments_open() && get_option('thread_comments') ){ wp_enqueue_script( 'comment-reply' ); } // lower than ie9 script wp_enqueue_script('tourmaster-html5js', get_template_directory_uri() . '/js/html5.js'); wp_script_add_data('tourmaster-html5js', 'conditional', 'lt IE 9'); } } // rtl css for frontend if(is_rtl()) { add_action('wp_enqueue_scripts', 'traveltour_include_rtl_style', 15); } if( !function_exists('traveltour_include_rtl_style') ){ function traveltour_include_rtl_style() { wp_enqueue_style('frontend-rtl', get_template_directory_uri() . '/css/frontend-rtl.css'); } }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 1 × Files: 9
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
options
DIR
-
drwxr-xr-x
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
function-regist.php
9.21 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
goodlayers-core-element-filter.php
3.84 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
goodlayers-core-filter.php
1.66 MB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
header-settings.php
63.06 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
include-script.php
2.53 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
maintenance.php
1.49 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
navigation-menu.php
9.41 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
pb-element-title.php
16.08 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
utility.php
9.66 KB
lrw-r--r--
2024-05-28 15:48:51
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).