| Server IP : 185.11.201.71 / Your IP : 192.168.7.18 Web Server : Apache/2.4.29 (Ubuntu) System : Linux tech-virtual-machine 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : tech ( 1000) PHP Version : 7.4.28 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, MySQL : OFF | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /var/www/html/wordpress/wp-content/themes/yith-proteo-child/ |
Upload File : |
<?php
/**
* Theme functions and definitions.
* This child theme was generated by YITH Proteo.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*/
/*
* If your child theme has more than one .css file (eg. ie.css, style.css, main.css) then
* you will have to make sure to maintain all of the parent theme dependencies.
*
* Make sure you're using the correct handle for loading the parent theme's styles.
* Failure to use the proper tag will result in a CSS file needlessly being loaded twice.
* This will usually not affect the site appearance, but it's inefficient and extends your page's loading time.
*
* @link https://codex.wordpress.org/Child_Themes
*/
function yithproteo_child_enqueue_styles() {
wp_enqueue_style( 'yith-proteo-style', get_template_directory_uri() . '/style.css', array('select2'), YITH_PROTEO_VERSION );
wp_enqueue_style( 'yith-proteo-child-style',
get_stylesheet_directory_uri() . '/style.css',
array( 'yith-proteo-style' ),
wp_get_theme()->get('Version')
);
}
add_action( 'wp_enqueue_scripts', 'yithproteo_child_enqueue_styles' );
add_action('wp_enqueue_scripts', function () {
wp_enqueue_style('gotham-font-css', get_stylesheet_directory_uri() . '/fonts/Gotham-Font/stylesheet.css');
});