forked from chrismcintosh/bolt-pro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
executable file
·44 lines (33 loc) · 1.2 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
<?php
/**
* Bolt Pro.
*
* This file adds functions to the Bolt Pro Theme.
*
* @package Bolt Pro
* @author Chris Mcintosh
* @license GPL-2.0+
* @link http://www.mcintosh.io
*/
//* Start the engine
include_once( get_template_directory() . '/lib/init.php' );
//* Child theme (do not remove)
define( 'CHILD_THEME_NAME', 'Bolt Pro' );
define( 'CHILD_THEME_URL', 'http://www.mcintosh.io' );
define( 'CHILD_THEME_VERSION', '1.0.0' );
include get_stylesheet_directory() . '/lib/enqueue-scripts.php';
include get_stylesheet_directory() . '/lib/suggested-plugins.php';
include get_stylesheet_directory() . '/lib/components/index.php';
// include get_stylesheet_directory() . '/lib/header-navigation.php';
include get_stylesheet_directory() . '/lib/theme-support.php';
include get_stylesheet_directory() . '/lib/inline-title-logo.php';
//* Project Specific Includes
// include get_stylesheet_directory() . '/lib/off-canvas-example.php';
//* Add support for structural wraps
add_theme_support( 'genesis-structural-wraps', array(
'site-inner',
'footer-widgets',
'footer'
) );
remove_action( 'genesis_after_endwhile', 'genesis_posts_nav' );
add_action('genesis_after_content_sidebar_wrap', 'genesis_posts_nav');