// Header knop $wp_customize->add_section( 'printfabrique_header_section', array( 'title' => __( 'Header', 'printfabrique' ), 'panel' => 'printfabrique_options_panel', 'priority' => 2, ) ); $wp_customize->add_setting( 'printfabrique_header_button_label', array( 'default' => '', 'transport' => 'refresh', ) ); $wp_customize->add_control( 'printfabrique_header_button_label', array( 'label' => __( 'Knoptekst (Header)', 'printfabrique' ), 'section' => 'printfabrique_header_section', 'type' => 'text', ) ); $wp_customize->add_setting( 'printfabrique_header_button_link', array( 'default' => '#', 'transport' => 'refresh', ) ); $wp_customize->add_control( 'printfabrique_header_button_link', array( 'label' => __( 'Knoplink (Header)', 'printfabrique' ), 'section' => 'printfabrique_header_section', 'type' => 'url', ) ); // Footer tekst $wp_customize->add_section( 'printfabrique_footer_section', array( 'title' => __( 'Footer', 'printfabrique' ), 'panel' => 'printfabrique_options_panel', 'priority' => 3, ) ); $wp_customize->add_setting( 'printfabrique_footer_text', array( 'default' => '', 'transport' => 'refresh', ) ); $wp_customize->add_control( 'printfabrique_footer_text', array( 'label' => __( 'Footertekst', 'printfabrique' ), 'section' => 'printfabrique_footer_section', 'type' => 'text', ) ); // Navigatiemenu register_nav_menus( array( 'primary' => __( 'Hoofdmenu', 'printfabrique' ), ) ); // Footer widgetgebieden function printfabrique_widgets_init() { for ( $i = 1; $i <= 4; $i++ ) { register_sidebar( array( 'name' => sprintf( __( 'Footer Kolom %d', 'printfabrique' ), $i ), 'id' => 'footer-' . $i, 'before_widget' => '
', 'before_title' => 'Thank you for being patient. We are doing some work on the site and will be back shortly.