__( 'Primary Menu', 'naked' ), // Register the Primary menu // Copy and paste the line above right here if you want to make another menu, // just change the 'primary' to another name ) ); /*-----------------------------------------------------------------------------------*/ /* Activate sidebar for Wordpress use /*-----------------------------------------------------------------------------------*/ function naked_register_sidebars() { register_sidebar(array( // Start a series of sidebars to register 'id' => 'sidebar', // Make an ID 'name' => 'Sidebar', // Name it 'description' => 'Take it on the side...', // Dumb description for the admin side 'before_widget' => '
', // What to display before each widget 'after_widget' => '
', // What to display following each widget 'before_title' => '

', // What to display before each widget's title 'after_title' => '

', // What to display following each widget's title 'empty_title'=> '', // What to display in the case of no title defined for a widget // Copy and paste the lines above right here if you want to make another sidebar, // just change the values of id and name to another word/name )); } // adding sidebars to Wordpress (these are created in functions.php) add_action( 'widgets_init', 'naked_register_sidebars' ); /*-----------------------------------------------------------------------------------*/ /* Enqueue Styles and Scripts /*-----------------------------------------------------------------------------------*/ function naked_scripts() { // get the theme directory style.css and link to it in the header wp_enqueue_style( 'naked-style', get_template_directory_uri() . '/style.css', '10000', 'all' ); // add theme scripts wp_enqueue_script( 'naked', get_template_directory_uri() . '/theme.min.js', array(), NAKED_VERSION, true ); } add_action( 'wp_enqueue_scripts', 'naked_scripts' ); // Register this fxn and allow Wordpress to call it automatcally in the header