-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathfunctions.php
69 lines (52 loc) · 1.8 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
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
69
<?php
/**
* Functions and definitions.
*
* Sets up the theme and provides some helper functions, which are used in the
* theme as custom template tags. Others are attached to action and filter
* hooks in WordPress to change core functionality.
*
* @see https://codex.wordpress.org/Plugin_API for more information on hooks, actions, and filters.
* @see https://bitbucket.org/hastedesign/haste-starter for documentation Haste Starter.
*
* @package WordPress\HasteStarter
*/
/**
* Classes.
*/
require_once get_template_directory() . '/inc/classes/class-bootstrap-nav-walker.php';
/**
* Hooks.
*/
// Theme support options.
require_once get_template_directory() . '/inc/theme-support.php';
// WP Head and other cleanup functions.
require_once get_template_directory() . '/inc/cleanup.php';
// Register scripts and stylesheets.
require_once get_template_directory() . '/inc/enqueue-scripts.php';
// Register custom menus and menu walkers.
require_once get_template_directory() . '/inc/menus.php';
// Register sidebars/widget areas.
require_once get_template_directory() . '/inc/sidebars.php';
// Customize the WordPress admin and login menu.
require_once get_template_directory() . '/inc/admin.php';
// Custom filters.
require_once get_template_directory() . '/inc/filters.php';
/**
* Queries.
*/
// Post queries.
require_once get_template_directory() . '/inc/queries/post.php';
/**
* Helpers.
*/
// Custom templates tags.
require_once get_template_directory() . '/inc/template-tags.php';
// Custom comments loop.
require_once get_template_directory() . '/inc/comments-loop.php';
// Pagination
require_once get_template_directory() . '/inc/pagination.php';
// Breadcrumbs
require_once get_template_directory() . '/inc/breadcrumbs.php';
// WooCommerce
require_once get_template_directory() . '/inc/woocommerce.php';