forked from cdukes/bones-for-genesis-2-0
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
executable file
·39 lines (31 loc) · 1.77 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
<?php
if( !defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
// Initialize Genesis
require_once get_template_directory() . '/lib/init.php';
// Child theme definitions
define( 'CHILD_THEME_NAME', 'Bones for Genesis 2.0' );
define( 'CHILD_THEME_URL', 'http://bonesforgenesis.com/' );
define( 'CHILD_THEME_TEXT_DOMAIN', 'bfg' );
// Developer Tools
require_once CHILD_DIR . '/includes/developer-tools.php';
// Genesis
require_once CHILD_DIR . '/includes/genesis.php'; // Customizations to Genesis-specific functions
// Admin
require_once CHILD_DIR . '/includes/admin/admin-functions.php'; // Customization to admin functionality
require_once CHILD_DIR . '/includes/admin/admin-views.php'; // Customizations to the admin area display
require_once CHILD_DIR . '/includes/admin/admin-branding.php'; // Admin view customizations that specifically involve branding
require_once CHILD_DIR . '/includes/admin/admin-options.php'; // For adding/editing theme options to Genesis
// Structure (corresponds to Genesis's lib/structure)
require_once CHILD_DIR . '/includes/structure/archive.php';
require_once CHILD_DIR . '/includes/structure/comments.php';
require_once CHILD_DIR . '/includes/structure/footer.php';
require_once CHILD_DIR . '/includes/structure/header.php';
require_once CHILD_DIR . '/includes/structure/layout.php';
require_once CHILD_DIR . '/includes/structure/loops.php';
require_once CHILD_DIR . '/includes/structure/menu.php';
require_once CHILD_DIR . '/includes/structure/post.php';
require_once CHILD_DIR . '/includes/structure/schema.php';
require_once CHILD_DIR . '/includes/structure/search.php';
require_once CHILD_DIR . '/includes/structure/sidebar.php';
// Shame
require_once CHILD_DIR . '/includes/shame.php'; // For new code snippets that haven't been sorted and commented yet