web_dorado_theme_admin_menu

The Business Responsive web dorado theme admin menu function.

Description

web_dorado_theme_admin_menu(); 

Usage

  1. if ( !function_exists( 'web_dorado_theme_admin_menu' ) ) { 
  2. require_once '/admin/main_admin_controler.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = web_dorado_theme_admin_menu(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/admin/main_admin_controler.php  
  1. function web_dorado_theme_admin_menu() { 
  2.  
  3. $theme_name='Theme'; 
  4. global $dor_layout_page, $dor_general_settings_page, $dor_home_page, $dor_integration_page, $dor_color_control_page, $dor_typography_page, $dor_slider_page, $sample_date, $licensing_page, $featured_plugins_page; 
  5. $web_dor_theme_option=add_theme_page( $theme_name." Options", $theme_name." Options", 'manage_options', "web_dorado_theme", 'web_dor_theme_control_pages' ); 
  6. /** // Seo page 
  7. $web_business_seo_page=add_submenu_page( "web_dorado_theme_seo_page", "SEO Options", "SEO", 'manage_options', "web_dorado_theme_seo_page", array(&$dor_seo_page, 'dorado_theme_admin_seo') ); 
  8. add_action('admin_print_styles-' . $web_business_seo_page, array(&$dor_seo_page, 'web_dorado_seo_page_admin_scripts')); 
  9.  
  10. //layout page 
  11. $web_business_layout_page=add_submenu_page( "web_dorado_theme_seo_page", "Layout Editor", "Layout Editor", 'manage_options', "web_dorado_theme_layout_page", array(&$dor_layout_page, 'dorado_theme_admin_layout') ); 
  12. add_action('admin_print_styles-' . $web_business_layout_page, array(&$dor_layout_page, 'web_dorado_layout_page_admin_scripts') ); 
  13.  
  14. //General Settings page 
  15. $web_business_general_settings_page=add_submenu_page( "web_dorado_theme_seo_page", "General Settings", "General Settings", 'manage_options', "web_dorado_theme_general_settings_page", array(&$dor_general_settings_page, 'dorado_theme_admin_general_settings') ); 
  16. add_action('admin_print_styles-' . $web_business_general_settings_page, array(&$dor_general_settings_page, 'web_dorado_general_settings_page_admin_scripts') ); 
  17.  
  18. //Home page 
  19. $web_business_home_page=add_submenu_page( "web_dorado_theme_seo_page", "Homepage", "Homepage", 'manage_options', "web_dorado_theme_home_page", array(&$dor_home_page, 'dorado_theme_admin_home') ); 
  20. add_action('admin_print_styles-' . $web_business_home_page, array(&$dor_home_page, 'web_dorado_home_page_admin_scripts') ); 
  21.  
  22. //Integration page 
  23. $web_business_integration_page=add_submenu_page( "web_dorado_theme_seo_page", "Integration ", "Integration ", 'manage_options', "web_dorado_theme_integration_page", array(&$dor_integration_page, 'dorado_theme_admin_integration') ); 
  24. add_action('admin_print_styles-' . $web_business_integration_page, array(&$dor_integration_page, 'web_dorado_integration_page_admin_scripts') ); 
  25.  
  26. //Color Control page 
  27. $web_business_color_control_page=add_submenu_page( "web_dorado_theme_seo_page", "Color Control ", "Color Control ", 'manage_options', "web_dorado_theme_color_control_page", array(&$dor_color_control_page, 'dorado_theme_admin_color_control') ); 
  28. add_action('admin_print_styles-' . $web_business_color_control_page, array(&$dor_color_control_page, 'web_dorado_color_control_page_admin_scripts') ); 
  29.  
  30. //Typography page 
  31. $web_business_typography_page=add_submenu_page( "web_dorado_theme_seo_page", "Typography", "Typography", 'manage_options', "web_dorado_theme_typography_page", array(&$dor_typography_page, 'dorado_theme_admin_typography') ); 
  32. add_action('admin_print_styles-' . $web_business_typography_page, array(&$dor_typography_page, 'web_dorado_typography_page_admin_scripts') ); 
  33.   
  34. //slider page 
  35. $web_business_slider_page=add_submenu_page( "web_dorado_theme_seo_page", "Slider Options", "Slider Options", 'manage_options', "web_dorado_theme_slider_page", array(&$dor_slider_page, 'dorado_theme_admin_slider') ); 
  36. add_action('admin_print_styles-' . $web_business_slider_page, array(&$dor_slider_page, 'web_dorado_slider_page_admin_scripts') ); 
  37.  
  38. $instal_sampl_date=add_submenu_page( "web_dorado_theme_seo_page", "Install Sample Data", "Install Sample Data", 'manage_options', "install_sample_date", array(&$sample_date, 'web_buisnes_install_posts') ); 
  39. add_action('admin_print_styles-' . $instal_sampl_date, array(&$sample_date, 'web_dorado_sample_data_admin_scripts') ); 
  40.   
  41. // Featured Plugins page 
  42. $web_business_featured_plugins_page=add_submenu_page( "web_dorado_theme_seo_page", "Featured Plugins", "Featured Plugins", 'manage_options', "web_dorado_theme_featured_plugins_page", array(&$featured_plugins_page, 'dorado_theme_featured_plugins') ); 
  43. add_action('admin_print_styles-' . $web_business_featured_plugins_page, array(&$featured_plugins_page, 'web_dorado_featured_plugins_admin_scripts') ); 
  44. */