This repository has been archived by the owner on Nov 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
91 lines (71 loc) · 2.11 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
82
83
84
85
86
87
88
<?php
/**
* File to include theme functions
*
* @package mds_starter_theme
*/
/**
* Include Carbon Fields file
*/
require get_template_directory() . '/includes/carbon-fields/carbon-fields-plugin.php' ;
/**
* Load theme options file.
* Export theme options as a file and include it in the theme.
*/
require(get_template_directory() . '/functions/theme-options.php' );
/**
* Load the file with filters and functions to disable/remove some feature for WordPress
*/
//require get_template_directory() . '/functions/disable.php';
/**
* Load the file with required plugins
*/
require get_template_directory() . '/functions/plugins-activation.php';
/**
* Load the file with other theme functions
*/
require get_template_directory() . '/functions/theme-functions.php';
/**
* Load the file with theme script and styles
*/
require get_template_directory() . '/functions/scripts-styles.php';
/**
* Load the file with theme custom image sizes
*/
require get_template_directory() . '/functions/image-size.php';
/**
* Load the file for sidebars init and custom widgets
*/
require get_template_directory() . '/functions/widgets.php';
/**
* Load the file with theme shortcodes
*/
require get_template_directory() . '/functions/shortcode.php';
/**
* Load the file for woocomerce compatibility and functions
*/
//require get_template_directory() . '/functions/woocommerce.php';
/**
* Load file for the plugin to remove comments option from theme .
*/
//require get_template_directory() . '/includes/remove-comments-absolute.php';
/**
* Load file for the plugin to add multiple sidebars
*/
//require get_template_directory() . '/includes/multiple-sidebars.php';
/**
* Load file for breadcrumbs.
*/
//require get_template_directory() . '/includes/breadcrumbs.php';
/**
* Load custom post type files
*/
//require get_template_directory() .'/functions/custom-posts/custom-post-type.php';
/**
* Load custom taxonomy files
*/
//require get_template_directory() .'/functions/custom-taxonomies/custom-taxonomy.php';
/**
* Load custom metabox files
*/
require get_template_directory() . '/functions/carbon-custom-fields.php';