-
Notifications
You must be signed in to change notification settings - Fork 7
/
functions.php
executable file
·40 lines (27 loc) · 1.43 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
30
31
32
33
34
35
36
37
38
39
40
<?php
/* ***** ----------------------------------------------- ***** **
** ***** Load All Functions
** ***** ----------------------------------------------- ***** */
// Load custom post types
// require_once( get_template_directory() . '/includes/cpt-books.php' );
// Require specific plugins in theme
require_once( get_template_directory() . '/includes/require_plugins.php' );
// Clean up Wordpress markup from unnecessary bloat
require_once( get_template_directory() . '/includes/markup_cleanup.php' );
// Set up all theme features
require_once( get_template_directory() . '/includes/theme_setup.php' );
// Register menu and customize menu output
require_once( get_template_directory() . '/includes/menus.php' );
// Enqueue styles and scripts
require_once( get_template_directory() . '/includes/enqueue.php' );
// Register sidebars and widgets
require_once( get_template_directory() . '/includes/sidebars.php' );
// Enable Advanced Custom Fields theme option pages
require_once( get_template_directory() . '/includes/acf.php' );
// Optimize front-end admin display options
require_once( get_template_directory() . '/includes/admin_display.php' );
// Utility classes used by theme
require_once( get_template_directory() . '/includes/utilities.php' );
// Add custom editor styles to WYSIWYG
require_once( get_template_directory() . '/includes/editor_styles.php' );
?>