Skip to content

Commit

Permalink
fixed function name
Browse files Browse the repository at this point in the history
  • Loading branch information
U-sg1-1\winblow committed Oct 16, 2013
1 parent 0c99a0f commit 10918cc
Showing 1 changed file with 29 additions and 31 deletions.
60 changes: 29 additions & 31 deletions functions.php
Expand Up @@ -4,47 +4,45 @@
* @subpackage WP-Skeleton
*/

// drag and drop menu support
//Drag and drop menu support
register_nav_menu( 'primary', 'Primary Menu' );
//This theme uses post thumbnails
add_theme_support( 'post-thumbnails' );
//Apply do_shortcode() to widgets so that shortcodes will be executed in widgets
add_filter( 'widget_text', 'do_shortcode' );

//widget support for a right sidebar
//Widget support for a right sidebar
register_sidebar( array(
'name' => 'Right SideBar',
'id' => 'right-sidebar',
'description' => 'Widgets in this area will be shown on the right-hand side.',
'before_widget' => '<div id="%1$s">',
'after_widget' => '</div>',
'before_title' => '<h3>',
'after_title' => '</h3>'
'name' => 'Right Sidebar',
'id' => 'right-sidebar',
'description' => 'Widgets in this area will be shown on the right-hand side.',
'before_widget' => '<div id="%1$s">',
'after_widget' => '</div>',
'before_title' => '<h3>',
'after_title' => '</h3>'
));

//widget support for the footer
//Widget support for the footer
register_sidebar( array(
'name' => 'Footer SideBar',
'id' => 'footer-sidebar',
'description' => 'Widgets in this area will be shown in the footer.',
'before_widget' => '<div id="%1$s">',
'after_widget' => '</div>',
'before_title' => '<h3>',
'after_title' => '</h3>'
'name' => 'Footer Sidebar',
'id' => 'footer-sidebar',
'description' => 'Widgets in this area will be shown in the footer.',
'before_widget' => '<div id="%1$s">',
'after_widget' => '</div>',
'before_title' => '<h3>',
'after_title' => '</h3>'
));

//This theme uses post thumbnails
add_theme_support( 'post-thumbnails' );

//Apply do_shortcode() to widgets so that shortcodes will be executed in widgets
add_filter( 'widget_text', 'do_shortcode' );

//Enqueue_styles
function load_all() {
function Wps_load_styles() {

wp_register_style( 'skeleton-style', get_template_directory_uri() . '/style.css');
wp_register_style( 'skeleton-base', get_template_directory_uri() . '/stylesheets/base.css');
wp_register_style( 'skeleton-layout', get_template_directory_uri() . '/stylesheets/layout.css');
wp_register_style( 'skeleton-style', get_template_directory_uri() . '/style.css');
wp_register_style( 'skeleton-base', get_template_directory_uri() . '/stylesheets/base.css');
wp_register_style( 'skeleton-layout', get_template_directory_uri() . '/stylesheets/layout.css');

wp_enqueue_style( 'skeleton-style' );
wp_enqueue_style( 'skeleton-base' );
wp_enqueue_style( 'skeleton-layout' );
wp_enqueue_style( 'skeleton-style' );
wp_enqueue_style( 'skeleton-base' );
wp_enqueue_style( 'skeleton-layout' );

}
add_action('wp_enqueue_scripts', 'load_all');
add_action('wp_enqueue_scripts', 'Wps_load_styles');

0 comments on commit 10918cc

Please sign in to comment.