Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 52 lines (40 sloc) 1.351 kB
de33e13 @wycks adding version removal custom dashbaord thing
authored
1 <?php
2 /**
3 * @package WordPress
4 * @subpackage WP-Skeleton
5 */
6
7 // drag and drop menu support
8 register_nav_menu( 'primary', 'Primary Menu' );
9
10
11 //widget support for a right sidebar
12 register_sidebar(array(
13 'name' => 'Right SideBar',
14 'id' => 'right-sidebar',
15 'description' => 'Widgets in this area will be shown on the right-hand side.',
5cbee4e @wycks housekeeping, validating HTML, widget id generated by WP, moved some …
authored
16 'before_widget' => '<div id="%1$s">',
17 'after_widget' => '</div>',
de33e13 @wycks adding version removal custom dashbaord thing
authored
18 'before_title' => '<h3>',
19 'after_title' => '</h3>'
20 ));
21
22 //widget support for the footer
23 register_sidebar(array(
24 'name' => 'Footer SideBar',
25 'id' => 'footer-sidebar',
26 'description' => 'Widgets in this area will be shown in the footer.',
5cbee4e @wycks housekeeping, validating HTML, widget id generated by WP, moved some …
authored
27 'before_widget' => '<div id="%1$s">',
28 'after_widget' => '</div>',
de33e13 @wycks adding version removal custom dashbaord thing
authored
29 'before_title' => '<h3>',
30 'after_title' => '</h3>'
31 ));
32
33 //This theme uses post thumbnails
34 add_theme_support( 'post-thumbnails' );
35
36
37 //Apply do_shortcode() to widgets so that shortcodes will be executed in widgets
38 add_filter('widget_text', 'do_shortcode');
39
40
41 /**
42 * MANAGE REMOVING OR ADDING STUFF (aka Function Snippets)
43 * comment in or out what you want
44 */
45
46 // remove stuff, uncomment to enable
47 //require_once( get_template_directory() . '/snippets/remove-stuff.php' );
48
49 // add stuff
50 //require_once( get_template_directory() . '/snippets/add-stuff.php' );
51
09a16a4 @wycks first commit
authored
52 ?>
Something went wrong with that request. Please try again.