File manager - Edit - /home/xfekoga/rooftopcleaners/wp-includes/widgets/customizer-sections.php.tar
Back
home/xfekoga/rooftopcleaners/wp-content/themes/roofy/admin/customizer-sections.php 0000644 00000020163 15174423717 0024715 0 ustar 00 <?php function roofy_customize_register__sections($wp_customize) { $wp_customize->add_panel( 'roofy_panel_general', array( 'title' => esc_html__('General', 'roofy'), 'description' => esc_html__('General options.', 'roofy'), 'priority' => 1 ) ); $wp_customize->add_section( 'roofy_section_layout', array( 'title' => esc_html__('Layout', 'roofy'), 'description' => esc_html__('Theme layout settings.', 'roofy'), 'panel' => 'roofy_panel_general', 'priority' => 2 ) ); $wp_customize->add_section( 'roofy_section_fonts', array( 'title' => esc_html__('Fonts', 'roofy'), 'description' => esc_html__('Theme font settings.', 'roofy'), 'panel' => 'roofy_panel_general', 'priority' => 3 ) ); $wp_customize->add_section( 'roofy_section_chars', array( 'title' => esc_html__('Characters', 'roofy'), 'description' => esc_html__('Set character sets.', 'roofy'), 'panel' => 'roofy_panel_general', 'priority' => 4 ) ); $wp_customize->add_section( 'roofy_section_colors', array( 'title' => esc_html__('Colors', 'roofy'), 'description' => esc_html__('Select theme colors.', 'roofy'), 'panel' => 'roofy_panel_general', 'priority' => 5 ) ); $wp_customize->add_section( 'roofy_section_buttons', array( 'title' => esc_html__('Buttons', 'roofy'), 'description' => esc_html__('Theme buttons settings.', 'roofy'), 'panel' => 'roofy_panel_general', 'priority' => 6 ) ); /* ================================================== */ $wp_customize->add_panel( 'roofy_panel_header', array( 'title' => esc_html__('Header', 'roofy'), 'description' => esc_html__('Theme header settings.', 'roofy'), 'priority' => 21 ) ); $wp_customize->add_section( 'roofy_section_header_general', array( 'title' => esc_html__('General', 'roofy'), 'description' => esc_html__('General header options.', 'roofy'), 'panel' => 'roofy_panel_header', 'priority' => 22 ) ); $wp_customize->add_section( 'roofy_section_header_menu', array( 'title' => esc_html__('Menu', 'roofy'), 'description' => esc_html__('Navigation menu options.', 'roofy'), 'panel' => 'roofy_panel_header', 'priority' => 23 ) ); $wp_customize->add_section( 'roofy_section_header_top_bar', array( 'title' => esc_html__('Top Bar', 'roofy'), 'description' => esc_html__('Theme top bar settings.', 'roofy'), 'panel' => 'roofy_panel_header', 'priority' => 24 ) ); $wp_customize->add_section( 'roofy_section_header_icon_box', array( 'title' => esc_html__('Icon Box', 'roofy'), 'description' => esc_html__('Theme icon box settings.', 'roofy'), 'panel' => 'roofy_panel_header', 'priority' => 25 ) ); /* ================================================== */ $wp_customize->add_section( 'roofy_section_footer', array( 'title' => esc_html__('Footer', 'roofy'), 'description' => esc_html__('Theme footer settings.', 'roofy'), 'priority' => 26 ) ); /* ================================================== */ $wp_customize->add_panel( 'roofy_panel_featured_area', array( 'title' => esc_html__('Featured Area', 'roofy'), 'description' => esc_html__('Theme featured area settings.', 'roofy'), 'priority' => 27 ) ); $wp_customize->add_section( 'roofy_section_featured_area_general', array( 'title' => esc_html__('General', 'roofy'), 'description' => esc_html__('Theme general featured area settings.', 'roofy'), 'panel' => 'roofy_panel_featured_area', 'priority' => 28 ) ); $wp_customize->add_section( 'roofy_section_featured_area_slider', array( 'title' => esc_html__('Slider', 'roofy'), 'description' => esc_html__('Go to Widgets section and add Main Slider widget to any Featured Area.', 'roofy'), 'panel' => 'roofy_panel_featured_area', 'priority' => 29 ) ); $wp_customize->add_section( 'roofy_section_featured_area_link_box', array( 'title' => esc_html__('Link Box', 'roofy'), 'description' => esc_html__('Go to Widgets section and drag and drop Link Box widgets to Blog/Page Featured Area.', 'roofy'), 'panel' => 'roofy_panel_featured_area', 'priority' => 30 ) ); $wp_customize->add_section( 'roofy_section_featured_area_intro', array( 'title' => esc_html__('Intro', 'roofy'), 'description' => esc_html__('Go to Widgets section and drag and drop Intro widget to Blog/Page Featured Area.', 'roofy'), 'panel' => 'roofy_panel_featured_area', 'priority' => 31 ) ); /* ================================================== */ $wp_customize->add_section( 'roofy_section_pages', array( 'title' => esc_html__('Pages', 'roofy'), 'description' => esc_html__('Default page options.', 'roofy'), 'priority' => 32 ) ); $wp_customize->add_section( 'roofy_section_blog', array( 'title' => esc_html__('Blog', 'roofy'), 'description' => esc_html__('Blog page options.', 'roofy'), 'priority' => 33 ) ); $wp_customize->add_section( 'roofy_section_post', array( 'title' => esc_html__('Single Post', 'roofy'), 'description' => esc_html__('Individual post options.', 'roofy'), 'priority' => 34 ) ); /* ================================================== */ $wp_customize->add_panel( 'roofy_panel_meta', array( 'title' => esc_html__('Meta', 'roofy'), 'description' => esc_html__('Meta options.', 'roofy'), 'priority' => 35 ) ); $wp_customize->add_section( 'roofy_section_meta_style', array( 'title' => esc_html__('Style', 'roofy'), 'description' => esc_html__('Meta style options.', 'roofy'), 'panel' => 'roofy_panel_meta', 'priority' => 36 ) ); $wp_customize->add_section( 'roofy_section_meta_blog', array( 'title' => esc_html__('Blog Meta', 'roofy'), 'description' => esc_html__('Blog meta options.', 'roofy'), 'panel' => 'roofy_panel_meta', 'priority' => 37 ) ); $wp_customize->add_section( 'roofy_section_meta_post', array( 'title' => esc_html__('Single Post Meta', 'roofy'), 'description' => esc_html__('Post meta options.', 'roofy'), 'panel' => 'roofy_panel_meta', 'priority' => 38 ) ); /* ================================================== */ $wp_customize->add_section( 'roofy_section_sidebar', array( 'title' => esc_html__('Sidebar', 'roofy'), 'description' => esc_html__('Theme sidebar settings.', 'roofy'), 'priority' => 39 ) ); $wp_customize->add_section( 'roofy_section_portfolio', array( 'title' => esc_html__('Portfolio', 'roofy'), 'description' => esc_html__('Portfolio page options.', 'roofy'), 'priority' => 40 ) ); $wp_customize->add_section( 'roofy_section_shop', array( 'title' => esc_html__('Shop', 'roofy'), 'description' => esc_html__('Shop page options.', 'roofy'), 'priority' => 41 ) ); /* ================================================== */ $wp_customize->add_panel( 'widgets', array( 'title' => esc_html__('Widgets', 'roofy'), 'description' => esc_html__('Widgets are independent sections of content that can be placed into widgetized areas provided by your theme (commonly called sidebars).', 'roofy'), 'priority' => 99 ) ); } add_action('customize_register', 'roofy_customize_register__sections'); function roofy_sanitize($value) { return $value; } ?>