| Server IP : 51.79.230.26 / Your IP : 216.73.217.128 Web Server : LiteSpeed System : Linux sg2.exonhost.com 5.14.0-611.55.1.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 19 15:19:29 EDT 2026 x86_64 User : mukutpub ( 1151) PHP Version : 8.2.33 Disable Function : eval, show_source, system, shell_exec, passthru, exec, popen, proc_open, allow_url_fopen, symlink, mail MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home/mukutpub/joldhi.com/wp-content/themes/fse-ecommerce/ |
Upload File : |
<?php
function fse_ecommerce_styles_scripts() {
$dependency = array( 'bootstrap', 'font-awesome', 'di-ecommerce-style-default', 'di-ecommerce-style-core' );
if( class_exists( 'WooCommerce' ) ) {
$dependency = array( 'bootstrap', 'font-awesome', 'di-ecommerce-style-default', 'di-ecommerce-style-core', 'di-ecommerce-style-woo' );
}
/**
* Add the default/main css file of parent theme.
*/
wp_enqueue_style( 'di-ecommerce-style-default', get_template_directory_uri() . '/style.css' );
/**
* Add the main css file of the child theme after all css files of parent theme.
*/
wp_enqueue_style( 'fse-ecommerce', get_stylesheet_directory_uri() . '/style.css', $dependency, wp_get_theme()->get('Version'), 'all' );
}
add_action( 'wp_enqueue_scripts', 'fse_ecommerce_styles_scripts' );
function fse_ecommerce_register_pattern_categories() {
register_block_pattern_category( 'fse-ecommerce/patterns-cat', array(
'label' => esc_html__( 'FSE eCommerce', 'fse-ecommerce' ),
'description' => esc_html__( 'FSE eCommerce Theme patterns.', 'fse-ecommerce' )
) );
}
add_action( 'init', 'fse_ecommerce_register_pattern_categories' );