-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
26 lines (23 loc) · 725 Bytes
/
functions.php
File metadata and controls
26 lines (23 loc) · 725 Bytes
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
<?php
require get_template_directory() . '/includes/settings.php';
if (!function_exists('nordcom_wp_setup')) {
function nordcom_wp_setup() {
// https://codex.wordpress.org/Function_Reference/add_theme_support
add_theme_support('automatic-feed-links');
add_theme_support('title-tag');
add_theme_support('post-thumbnails');
// https://codex.wordpress.org/Post_Formats
add_theme_support('post-formats', array(
'aside',
'image',
'video',
'quote',
'link',
'gallery',
'status',
'audio',
'chat',
));
}
}
add_action('after_setup_theme', 'nordcom_wp_setup');