-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfunctions.php
More file actions
68 lines (62 loc) · 2.31 KB
/
Copy pathfunctions.php
File metadata and controls
68 lines (62 loc) · 2.31 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<?php
//======================================================================
//
// FUNCTIONS.PHP
//
// File Overview:
//
// 1. lib/config.php
// Default theme config used if not set in child theme.
//
// 2. lib/theme-setup.php
// This file includes functions that setup theme features, custom
// image sizes, required plugins, enqueued styles and scripts, and
// navigation menu theme locations.
//
// 3. lib/theme-options.php
// This file is where theme options are declared.
//
// 4. lib/blocks.php
// This file is where custom block types are imported, block
// categories are configured, and other things related to the
// block editor happen.
//
// 5. lib/class-method-utility.php
// This file contains the Method_Utility php class, which
// provides methods for easily interacting with and using
// post meta and theme options.
//
// 6. lib/class-method-bs-accordion.php
// A php class for generating Bootstrap 5 accordions.
//
// 7. lib/class-method-css-collector.php
// A php class for collecting and minifying block CSS for each
// page.
//
// 8. lib/admin-customization.php
// This file contains admin customizations and optimizations.
//
// 9. lib/helper-functions.php
// This file contains a number of useful functions to assist in
// a variety of tasks.
//
//======================================================================
//======================================================================
// THEME SETUP
//======================================================================
//-----------------------------------------------------
// Import a custom navwalker for Bootstrap 5
//-----------------------------------------------------
require_once get_template_directory() . '/inc/bootstrap-5-navwalker/class-bootstrap_5_wp_nav_menu_walker.php';
//-----------------------------------------------------
// Import theme files.
//-----------------------------------------------------
require_once('lib/config.php');
require_once('lib/theme-setup.php');
require_once('lib/theme-options.php');
require_once('lib/blocks.php');
require_once('lib/class-method-utility.php');
require_once('lib/class-method-bs-accordion.php');
require_once('lib/class-method-css-collector.php');
require_once('lib/admin-customization.php');
require_once('lib/helper-functions.php');