__( 'shadow-small', 'byakurai' ), 'shadow-middle' => __( 'shadow-middle', 'byakurai' ), 'shadow-big' => __( 'shadow-big', 'byakurai' ), 'shadow-dent' => __( 'shadow-dent', 'byakurai' ), 'shadow-cube' => __( 'shadow-cube', 'byakurai' ), ); foreach ( $blocktype as $bname ) { foreach ( $addstyle as $cssname => $csslabel ) { register_block_style( $bname, array( 'name' => $cssname, 'label' => $csslabel, 'style_handle' => 'byakurai-block-style', ), ); } } /*--- 見出し ---*/ $addstyle = array( 'singleline-center' => __( 'singleline-center', 'byakurai' ), 'doubleline-center' => __( 'doubleline-center', 'byakurai' ), 'box-crossingline' => __( 'box-crossingline', 'byakurai' ), ); foreach ( $addstyle as $cssname => $csslabel ) { register_block_style( 'core/heading', array( 'name' => $cssname, 'label' => $csslabel, 'style_handle' => 'byakurai-block-style', ), ); } /* --- インデックスポスト ---*/ // カテゴリ・タグ半円! register_block_style( 'core/post-terms', array( 'name' => 'semicircle', 'label' => __( 'semicircle', 'byakurai' ), 'style_handle' => 'byakurai-block-style', ), ); // ページネーション! register_block_style( 'core/query-pagination', array( 'name' => 'mono-minimal', 'label' => __( 'mono-minimal', 'byakurai' ), 'style_handle' => 'byakurai-block-style', ), );