forked from Eworm/template
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
36 lines (33 loc) · 1.87 KB
/
functions.php
File metadata and controls
36 lines (33 loc) · 1.87 KB
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
<?php
/* Includes
==================================================================================================================================*/
include_once(get_stylesheet_directory() . '/functions/acf-options.php');
include_once(get_stylesheet_directory() . '/functions/plugin-timber.php');
include_once(get_stylesheet_directory() . '/functions/required-plugins.php');
include_once(get_stylesheet_directory() . '/functions/wm-autocomplete.php');
include_once(get_stylesheet_directory() . '/functions/wm-breadcrumbs.php');
include_once(get_stylesheet_directory() . '/functions/wm-contact.php');
/* Remove the minifier for Woocommerce themes, otherwise the cart won't work */
include_once(get_stylesheet_directory() . '/functions/wm-minify.php');
include_once(get_stylesheet_directory() . '/functions/wp-clean.php');
include_once(get_stylesheet_directory() . '/functions/wp-custom-post-type.php');
include_once(get_stylesheet_directory() . '/functions/wp-custom-post-type-icons.php');
include_once(get_stylesheet_directory() . '/functions/wp-hide-admin-items.php');
include_once(get_stylesheet_directory() . '/functions/wp-image-sizes.php');
include_once(get_stylesheet_directory() . '/functions/wp-image-quality.php');
include_once(get_stylesheet_directory() . '/functions/wp-options.php');
include_once(get_stylesheet_directory() . '/functions/wp-widgets.php');
include_once(get_stylesheet_directory() . '/functions/wp_admin-menu.php');
// include_once(get_stylesheet_directory() . '/functions/woo-support.php');
// include_once(get_stylesheet_directory() . '/functions/woo.php');
/* Register menu's
==================================================================================================================================*/
function register_my_menus()
{
register_nav_menus(
array(
'main-menu' => 'Hoofdmenu'
)
);
}
add_action('init', 'register_my_menus');