'eaeaea' ) ) ); register_nav_menus(array( 'tblm' => __('Top Bar Left Menu', 'akbar'), 'tbrm' => __('Top Bar Right Menu', 'akbar'), 'mainmenu' => __('Main Menu', 'akbar') )); } endif; define('AKBAR_PARENT_URL', get_template_directory_uri()); define('AKBAR_INCLUDES_URL', AKBAR_PARENT_URL . '/inc'); define('AKBAR_ADMIN_URL', AKBAR_INCLUDES_URL . '/admin'); define('AKBAR_ADMIN_IMAGES_URL', AKBAR_ADMIN_URL . '/images'); define('AKBAR_ADMIN_CSS_URL', AKBAR_ADMIN_URL . '/css'); /** * Adds support for a theme option. */ if (!function_exists('optionsframework_init')) { define('OPTIONS_FRAMEWORK_DIRECTORY', get_template_directory_uri() . '/inc/admin/options/'); require_once(AKBAR_ADMIN_DIR . '/options/options-framework.php'); // Loads options.php from child or parent theme $optionsfile = locate_template('options.php'); load_template($optionsfile); } add_action('admin_print_styles-appearance_page_options-framework', 'akbar_admin_styles'); /** * Enqueuing some styles. * * @uses wp_enqueue_style to register stylesheets. * @uses wp_enqueue_style to add styles. */ function akbar_admin_styles() { wp_enqueue_style('akbar_admin_style', AKBAR_ADMIN_CSS_URL . '/admin.css'); }