forked from powerbuoy/sleek
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.php
executable file
·32 lines (29 loc) · 1.35 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
<?php
# Is AJAX call?
define('XHR', (
isset($_SERVER['HTTP_X_REQUESTED_WITH']) and
strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) == 'xmlhttprequest'
));
# Roots stuff
include get_template_directory() . '/inc/roots/utils.php';
include get_template_directory() . '/inc/roots/cleanup.php';
include get_template_directory() . '/inc/roots/nav.php';
# My stuff
include get_template_directory() . '/inc/functions.php';
include get_template_directory() . '/inc/cleanup.php';
include get_template_directory() . '/inc/lang.php';
include get_template_directory() . '/inc/post-thumbnails.php';
include get_template_directory() . '/inc/sidebars.php';
include get_template_directory() . '/inc/ajax.php';
include get_template_directory() . '/inc/post-types.php';
include get_template_directory() . '/inc/shortcodes.php';
include get_template_directory() . '/inc/include-css-js.php';
include get_template_directory() . '/inc/pagination-css-class.php';
include get_template_directory() . '/inc/advanced-search.php';
include get_template_directory() . '/inc/tinymce-styles.php';
include get_template_directory() . '/inc/get-posts-intro.php';
include get_template_directory() . '/inc/more-markdown.php';
include get_template_directory() . '/inc/get-posts/get-posts.php';
# WIP
# include get_template_directory() . '/inc/submit-form.php';
# include get_template_directory() . '/inc/relevanssi.php';