-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
executable file
·59 lines (40 loc) · 1.89 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
<?php
/**
* Function requirements
*
* @package OpusWP
* @subpackage Templates
* @since 3.0
*/
// TGM Plugin
require_once(get_template_directory().'/lib/tgm/tgm-activate.php');
// Timber Spport
require_once(get_template_directory(). '/assets/functions/timber-const.php');
// Theme support options
require_once(get_template_directory().'/assets/functions/theme-support.php');
// WP Head and other cleanup functions
require_once(get_template_directory().'/assets/functions/cleanup.php');
// Register scripts and stylesheets
require_once(get_template_directory().'/assets/functions/enqueue-scripts.php');
// Register custom menus and menu walkers
require_once(get_template_directory().'/assets/functions/menu.php');
// Register sidebars/widget areas
require_once(get_template_directory().'/assets/functions/sidebar.php');
// Makes WordPress comments suck less
require_once(get_template_directory().'/assets/functions/comments.php');
// Replace 'older/newer' post links with numbered navigation
require_once(get_template_directory().'/assets/functions/page-navi.php');
// Adds support for multiple languages
require_once(get_template_directory().'/assets/translation/translation.php');
// Remove 4.2 Emoji Support
// require_once(get_template_directory().'/assets/functions/disable-emoji.php');
// Adds site styles to the WordPress editor
//require_once(get_template_directory().'/assets/functions/editor-styles.php');
// Related post function - no need to rely on plugins
// require_once(get_template_directory().'/assets/functions/related-posts.php');
// Use this as a template for custom post types
// require_once(get_template_directory().'/assets/functions/custom-post-type.php');
// Customize the WordPress login menu
// require_once(get_template_directory().'/assets/functions/login.php');
// Customize the WordPress admin
// require_once(get_template_directory().'/assets/functions/admin.php');