-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
47 lines (33 loc) · 1.68 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
<?php
/**
* For more info: https://developer.wordpress.org/themes/basics/theme-functions/
*
*/
// Theme support options.
require_once( get_template_directory() . '/functions/theme-support.php' );
// WP Head and other cleanup functions.
require_once( get_template_directory() . '/functions/cleanup.php' );
// Register scripts and stylesheets.
require_once( get_template_directory() . '/functions/enqueue-scripts.php' );
// Register custom menus and menu walkers.
require_once( get_template_directory() . '/functions/menu.php' );
// Register sidebars/widget areas.
require_once( get_template_directory() . '/functions/sidebar.php' );
// Makes WordPress comments suck less.
require_once( get_template_directory() . '/functions/comments.php' );
// Replace 'older/newer' post links with numbered navigation.
require_once( get_template_directory() . '/functions/page-navi.php' );
// Adds support for multiple languages.
require_once( get_template_directory() . '/assets/translation/translation.php' );
// Adds site styles to the WordPress editor.
// require_once( get_template_directory() . '/functions/editor-styles.php' );
// Remove 4.2 Emoji Support.
// require_once( get_template_directory() . '/functions/disable-emoji.php' );
// Related post function - no need to rely on plugins.
// require_once( get_template_directory() . '/functions/related-posts.php' );
// Use this as a template for custom post types.
// require_once( get_template_directory() . '/functions/custom-post-type.php' );
// Customize the WordPress login menu.
require_once( get_template_directory() . '/functions/login.php' );
// Customize the WordPress admin.
// require_once( get_template_directory() . '/functions/admin.php' );