-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
executable file
·54 lines (47 loc) · 1.53 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
<?php
/**
* Set up the theme
*/
define( 'PATCH_DEVELOPER', 'Jupitercow' );
define( 'PATCH_DEVELOPER_URL', 'http://Jupitercow.com/' );
/**
* Easy way to get theme info if needed
*/
#$patch_info = wp_get_theme();
#define( 'PATCH_VERSION', $patch_info->Version );
/**
* Load modules
*
* Comment out modules that are not desired for the current site.
*/
// Admin
require_once( 'admin/admin.php' );
require_once( 'admin/login.php' );
require_once( 'admin/tinymce.php' );
#require_once( 'admin/dashboard-widget.php' ); // A basic example to show instructions
#require_once( 'admin/recently-updated-content.php' ); // Shows recently updated content. REQUIRES customization
#require_once( 'admin/required_plugins.php' ); // Manage requirements
// Front end
require_once( 'includes/cleanup.php' );
require_once( 'includes/theme-support.php' );
require_once( 'includes/enqueue.php' );
require_once( 'includes/acf-wrapper.php' );
require_once( 'includes/page-navi.php' );
require_once( 'includes/related-posts.php' );
#require_once( 'includes/class-image-loader.php' );
#require_once( 'includes/nice-search.php' ); // Clean search urls
#require_once( 'includes/assets-rewrites.php' ); // Rewrite theme assets to /assets and plugins to /plugins. DOES NOT WORK ON NGINX SERVERS LIKE WPENGINE
/**
* Customize Site
*/
/**
* Add options page support
* /
if ( function_exists('acf_add_options_page') )
{
acf_add_options_page( array(
'page_title' => get_option('blogname') . ' Settings',
'menu_title' => 'Site Settings',
) );
}
/**/