array(), 'sections' => array( 'top_bar' => array( 'title' => Translations::get( 'top_bar_settings' ), 'priority' => 0, 'panel' => 'header_panel', 'type' => 'colibri_section', ), 'nav_bar' => array( 'title' => Translations::get( 'nav_settings' ), 'priority' => 0, 'panel' => 'header_panel', 'type' => 'colibri_section', ), 'hero' => array( 'title' => Translations::get( 'hero_settings' ), 'priority' => 0, 'panel' => 'header_panel', 'type' => 'colibri_section', ), ), 'panels' => array( 'header_panel' => array( 'priority' => 1, 'title' => Translations::get( 'header_sections' ), 'type' => 'colibri_panel', 'footer_buttons' => array( 'change_header' => array( 'label' => Translations::get( 'change_header_design' ), 'name' => 'colibriwp_headers_panel', 'classes' => array( 'colibri-button-large', 'colibri-button-orange' ), 'icon' => 'dashicons-admin-customizer', 'activate_when' => array( 'selector' => $front_page_selector, ), ), ), ), ), ); } /** * @throws Exception */ public function renderContent( $parameters = array() ) { Hooks::prefixed_do_action( 'before_header' ); $header_class = View::isFrontPage() ? 'header-front-page' : 'header-inner-page'; View::printSkipToContent(); ?>