-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathfunctions.php
81 lines (58 loc) · 2.64 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
70
71
72
73
74
75
76
77
78
79
80
81
<?php
/**
* Hermi functions and definitions.
*
* @package hermi
*/
/**
* Set theme's version number.
* This is handy for cache busting styles and scripts.
*/
define( 'HERMI_VERSION', '0.1.0' );
/**
* Include files that handle various functionality.
*/
// Load dependencies managed by Composer
//require_once( get_template_directory() . '/includes/vendor/autoload.php' );
// Handle recommended plugins functionality via TGM Plugin Activation
//require_once( get_template_directory() . '/includes/recommended-plugins.php' );
// Utility functions
require_once( get_template_directory() . '/includes/utilities.php' );
// Helper functions
require_once( get_template_directory() . '/includes/helpers.php' );
// Make the theme availble for translation
require_once( get_template_directory() . '/includes/translation.php' );
// Features added via add_theme_support() (mostly) are located here
require_once( get_template_directory() . '/includes/theme-support.php' );
// Load JavaScript
require_once( get_template_directory() . '/includes/scripts.php' );
// Load styles
require_once( get_template_directory() . '/includes/styles.php' );
// Template functions
require_once( get_template_directory() . '/includes/template-functions.php' );
// Template tags
require_once( get_template_directory() . '/includes/template-tags.php' );
// Wire up functions to theme's template hooks.
require_once( get_template_directory() . '/includes/theme-template-hooks.php' );
// Functions attached to theme's hooks.
require_once( get_template_directory() . '/includes/theme-template-functions.php' );
// Menus, menu walkers, menu set up
require_once( get_template_directory() . '/includes/menus.php' );
// Register sidebars and widget areas
require_once( get_template_directory() . '/includes/widget-areas.php' );
// Attachment hooks and functions
require_once( get_template_directory() . '/includes/attachments.php' );
// Comment hooks and functions
require_once( get_template_directory() . '/includes/comments.php' );
// Pagination hooks and functions
require_once( get_template_directory() . '/includes/pagination.php' );
// Handle TinyMCE styling
require_once( get_template_directory() . '/includes/editor-style.php' );
// Handle theme customization via the Theme Customizer
require_once( get_template_directory() . '/includes/customizer.php' );
// Customize the WordPress Log In page
require_once( get_template_directory() . '/includes/log-in.php' );
// Custom post type demo templates
// Enable this for demo and testing purposes only. Custom Post Type and
// Taxonomy registration should be handled by plugins.
require_once( get_template_directory() . '/includes/custom-post-type-demo.php' );