-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfunctions.php
More file actions
56 lines (39 loc) · 1.28 KB
/
functions.php
File metadata and controls
56 lines (39 loc) · 1.28 KB
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
<?php
if (!empty($_SERVER['SCRIPT_FILENAME']) && 'functions.php' == basename($_SERVER['SCRIPT_FILENAME'])) {
die ('No access!');
}
// Theme framework setup
define('LIBPATH',TEMPLATEPATH.'/includes/');
$themename = "Solo-Frame";
$shortname = "sf";
include (LIBPATH.'theme_options.php');
// Delete core pages, add new pages, and set up static front page
include (LIBPATH.'activation.php');
// Load framework libraries
// Generic functions
require (LIBPATH.'library.php');
// Custom nav walker for mobile menu
require (LIBPATH.'nav_walker.php');
// Custom post types and taxonomies
require (LIBPATH.'post-types.php');
// Widgets
require (LIBPATH.'widgets.php');
// Custom gallery functions
require (LIBPATH.'gallery.php');
// Custom excerpt functions
require (LIBPATH.'excerpts.php');
// Custom comment functions
require (LIBPATH.'comments.php');
// Custom search functions
require (LIBPATH.'search.php');
// Per-post/page <head> meta tags via custom fields
require (LIBPATH.'head_meta.php');
// Drag & drop page ordering
require (LIBPATH.'pageorder.php');
// Sitemap generator
require (LIBPATH.'sitemap_generator.php');
// Widget Logic plugin
require (LIBPATH.'widget_logic.php');
// Show Active Template plugin
require (LIBPATH.'show-template.php');
?>