forked from NorthIsUp/Simple-Wordpress-Theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
functions.php
59 lines (47 loc) · 1.83 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
58
59
<?php
/*-----------------------------------------------------------------------------
Widget Support
-----------------------------------------------------------------------------*/
if ( function_exists('register_sidebar') )
register_sidebar();
/*-----------------------------------------------------------------------------
Display Post Template
-----------------------------------------------------------------------------*/
function getPost($post = NULL) {
include('post.php');
}
/*-----------------------------------------------------------------------------
Install Options - Not implemented yet
-----------------------------------------------------------------------------
if (!get_option('blueprint_installed')) {
add_option('blueprint_installed',
$current,
'This options simply tells me if K2 has been installed before',
$autoload);
add_option('blueprint_aboutblurp',
'Enter your about text',
'Allows you to write a small blurp about you and your blog, which will be put on the frontpage',
$autoload);
add_option('blueprint_columns',
'12',
'The number of columns across the page (default is 12)',
$autoload);
add_option('blueprint_columns_content',
'9',
'Number of columns the content (left side) takes up (default is 9, this and sidebar must add up to total column number)',
$autoload);
add_option('blueprint_column_sidebar',
'3',
'Number of columns the sidebar (right side) takes up (default is 3, this and left column must add up to total column number)',
$autoload);
add_option('blueprint_show_author',
'0',
'Show the author on posts? (Default: no)',
$autoload);
add_option('blueprint_show_tagline',
'0',
'Show the tagline under the site title? (Default: no)',
$autoload);
}
*/
?>