-
Notifications
You must be signed in to change notification settings - Fork 2
/
functions.php
executable file
·38 lines (31 loc) · 1011 Bytes
/
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
<?php
/**
* This file includes lib files with theme setup, support, shortcodes, etc.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*
* @package WordPress
* @subpackage Basetheme
* @since 1.0
* @version 2.7
*/
/**
* Disable the theme editor.
*/
if ( ! defined( 'DISALLOW_FILE_EDIT' ) ) {
define( 'DISALLOW_FILE_EDIT', true );
}
/**
* Include theme files.
* Functions and hooks should go in these files, not in functions.php.
*/
/* Setup menus, sidebars, scripts, etc. */
require get_template_directory() . '/lib/theme-setup.php';
/* Misc hooks and functions used on many WordPress sites */
require get_template_directory() . '/lib/theme-helpers.php';
/* Misc hooks and functions more specific to this site */
require get_template_directory() . '/lib/theme-functions.php';
/* Register theme shortcodes */
require get_template_directory() . '/lib/theme-shortcodes.php';
/* Register theme ACF blocks */
require get_template_directory() . '/lib/theme-acfblocks.php';