add_section( $section, array( 'title' => __( 'Global settings', 'arkhe' ), 'priority' => 21, ) ); // カラー設定 Customizer::big_title( $section, 'colors', array( 'label' => __( 'Color settings', 'arkhe' ), ) ); // メインカラー Customizer::add( $section, 'color_main', array( 'label' => __( 'Main color', 'arkhe' ), 'type' => 'color', ) ); // テキストカラー Customizer::add( $section, 'color_text', array( 'label' => __( 'Text color', 'arkhe' ), 'type' => 'color', ) ); // リンクの色 Customizer::add( $section, 'color_link', array( 'label' => __( 'Link color', 'arkhe' ), 'type' => 'color', ) ); // 背景色 Customizer::add( $section, 'color_bg', array( 'label' => __( 'Background color', 'arkhe' ), 'type' => 'color', ) ); // コンテンツ幅 Customizer::big_title( $section, 'content_width', array( 'label' => __( 'Content width', 'arkhe' ), ) ); // サイト幅の最大値 Customizer::add( $section, 'container_size', array( 'label' => __( 'Site width', 'arkhe' ), 'description' => ARKHE_NOTE . __( '48px padding is attached to the left and right.', 'arkhe' ), 'type' => 'number', 'input_attrs' => array( 'step' => '20', 'min' => '400', ), 'sanitize' => 'absint', ) ); // 記事コンテンツ幅の最大値 Customizer::add( $section, 'article_size', array( 'label' => __( 'Content width in 1 column', 'arkhe' ), 'type' => 'number', 'input_attrs' => array( 'step' => '20', 'min' => '400', ), 'sanitize' => 'absint', ) ); // NO-IMAGE設定 Customizer::big_title( $section, 'no_image', array( 'label' => __( 'NO-IMAGE settings', 'arkhe' ), ) ); // NO IMAGE画像 Customizer::add( $section, 'no_image', array( 'label' => __( '"NO-IMAGE" image', 'arkhe' ), 'description' => __( '1600px or more recommended width.', 'arkhe' ), 'type' => 'media', 'mime_type' => 'image', ) ); // パンくずリスト設定 Customizer::big_title( $section, 'breadcrumb_list', array( 'label' => __( 'Breadcrumb list settings', 'arkhe' ), ) ); // パンくずリストの位置 Customizer::add( $section, 'breadcrumbs_pos', array( 'label' => __( 'Breadcrumbs position', 'arkhe' ), 'type' => 'radio', 'choices' => array( 'top' => __( 'Top of page', 'arkhe' ), 'bottom' => __( 'Bottom of page', 'arkhe' ), ), ) ); // 「ホーム」の文字列 Customizer::add( $section, 'breadcrumbs_home_text', array( 'label' => __( '"Home" string', 'arkhe' ), 'type' => 'text', ) ); // その他の設定 Customizer::sub_title( $section, 'breadcrumbs_others', array( 'label' => __( 'Other settings', 'arkhe' ), ) ); // 「投稿ページ」も表示する Customizer::add( $section, 'breadcrumbs_set_home_page', array( 'label' => __( 'Display "Post page"', 'arkhe' ), 'description' => ARKHE_NOTE . __( 'It is valid only when "Post page" is set.', 'arkhe' ), 'type' => 'checkbox', ) );