<?php
if(!isset($content_width)) {
$content_width = 600;
}
add_theme_support('post-thumbnails');
add_theme_support('html5', array(
'comment-list',
'comment-form',
'search-form',
'gallery',
'caption'
));
$defaults = array(
'default-image' => '',
'random-default' => false,
'width' => 960,
'height' => 336,
'flex-height' => true,
'flex-width' => false,
'default-text-color' => '',
'header-text' => false,
'uploads' => true,
'wp-head-callback' => '',
'admin-head-callback' => '',
'admin-preview-callback' => '',
);
add_theme_support('custom-header', $defaults);
function register_my_menu() {
register_nav_menu('header-menu', __('Header Menu'));
}
add_action('init', 'register_my_menu');
if (function_exists('register_sidebar')) {
register_sidebar(array(
'before_widget' => '<li id="%1$s" class="widget %2$s">',
'after_widget' => '</li>',
'before_title' => '<h2 class="widgettitle">',
'after_title' => '</h2>',
));
}
// Include Shop Functionality
require_once(dirname(__FILE__) . '/shop.php');