'sidebar', 'before_widget' => '
  • ', 'after_widget' => '
  • ', 'before_title' => '

    ', 'after_title' => '

    ', )); if ( function_exists( 'register_nav_menu' ) ) { register_nav_menu( 'artweb-top-menu', 'Top menu' ); } // Load up our awesome theme options require_once ( get_template_directory() . '/theme-options.php' ); // Load up our awesome widget include_once ( get_template_directory() . '/widgets.php' ); // Add custom links to WordPress admin bar function mytheme_admin_bar_render() { global $wp_admin_bar; $wp_admin_bar->add_menu( array( 'parent' => false, // use 'false' for a root menu, or pass the ID of the parent menu 'title' => 'Themes', // link title 'href' => admin_url( 'themes.php'), // name of file 'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' ); )); $wp_admin_bar->add_menu( array( 'parent' => false, // use 'false' for a root menu, or pass the ID of the parent menu 'title' => 'Widgets', // link title 'href' => admin_url( 'widgets.php'), // name of file 'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' ); )); $wp_admin_bar->add_menu( array( 'parent' => false, // use 'false' for a root menu, or pass the ID of the parent menu 'title' => 'Plugins', // link title 'href' => admin_url( 'plugins.php'), // name of file 'meta' => false // array of any of the following options: array( 'html' => '', 'class' => '', 'onclick' => '', target => '', title => '' ); )); } add_action( 'wp_before_admin_bar_render', 'mytheme_admin_bar_render' );