forked from mlteal/bluegreen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
40 lines (36 loc) · 1.62 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
/**
* Bulmapress functions and definitions
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package VIAME Toolkit WP
*/
require get_template_directory() . '/functions/bulmapress_navwalker.php';
require get_template_directory() . '/functions/bulmapress_helpers.php';
require get_template_directory() . '/functions/bulmapress_custom_query.php';
if ( ! function_exists( 'bulmapress_setup' ) ) :
/**
* Sets up theme defaults and registers support for various WordPress features.
*
* Note that this function is hooked into the after_setup_theme hook, which
* runs before the init hook. The init hook is too late for some features, such
* as indicating support for post thumbnails.
*/
function bulmapress_setup() {
require get_template_directory() . '/functions/base.php';
require get_template_directory() . '/functions/post-thumbnails.php';
require get_template_directory() . '/functions/navigation.php';
require get_template_directory() . '/functions/content.php';
require get_template_directory() . '/functions/pagination.php';
require get_template_directory() . '/functions/widgets.php';
require get_template_directory() . '/functions/search.php';
require get_template_directory() . '/functions/scripts-styles.php';
require get_template_directory() . '/functions/custom-logo.php';
}
endif;
add_action( 'after_setup_theme', 'bulmapress_setup' );
require get_template_directory() . '/functions/template-tags.php';
require get_template_directory() . '/functions/extras.php';
require get_template_directory() . '/functions/customizer.php';
require get_template_directory() . '/functions/jetpack.php';