-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
33 lines (25 loc) · 1.18 KB
/
functions.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
/**
* Storefront automatically loads the core CSS even if using a child theme as it is more efficient
* than @importing it in the child theme style.css file.
*
* Uncomment the line below if you'd like to disable the Storefront Core CSS.
*
* If you don't plan to dequeue the Storefront Core CSS you can remove the subsequent line and as well
* as the sf_child_theme_dequeue_style() function declaration.
*/
//add_action( 'wp_enqueue_scripts', 'sf_child_theme_dequeue_style', 999 );
/**
* Dequeue the Storefront Parent theme core CSS
*/
function sf_child_theme_dequeue_style() {
wp_dequeue_style( 'storefront-style' );
wp_dequeue_style( 'storefront-woocommerce-style' );
}
require_once( __DIR__ . '/assets/functions/functions-alpha-scripts.php');
require_once( __DIR__ . '/assets/functions/functions-alpha-setup.php');
require_once( __DIR__ . '/assets/functions/functions-beta-breadcrumbs.php');
require_once( __DIR__ . '/assets/functions/functions-beta-header.php');
require_once( __DIR__ . '/assets/functions/functions-beta-footer.php');
require_once( __DIR__ . '/assets/functions/functions-beta-blog.php');
require_once( __DIR__ . '/assets/functions/functions-beta-facet.php');