Title: register_block_style 関数のコードジェネレータ
Last modified: 2020年7月25日

---

# register_block_style 関数のコードジェネレータ

 *  [水野史土](https://ja.wordpress.org/support/users/ounziw/)
 * (@ounziw)
 * [6年、 3ヶ月前](https://ja.wordpress.org/support/topic/register_block_style-%e9%96%a2%e6%95%b0%e3%81%ae%e3%82%b3%e3%83%bc%e3%83%89%e3%82%b8%e3%82%a7%e3%83%8d%e3%83%ac%e3%83%bc%e3%82%bf/)
 * ブロックエディタ(グーテンベルク)に、スタイル設定を追加する関数register_block_style
   の、雛形を作れるコードジェネレータを公開しました。
 * [https://php4wordpress.calculator.jp/gutenberg/add-style/#register_block_style-%E3%82%B8%E3%82%A7%E3%83%8D%E3%83%AC%E3%83%BC%E3%82%BF](https://php4wordpress.calculator.jp/gutenberg/add-style/#register_block_style-%E3%82%B8%E3%82%A7%E3%83%8D%E3%83%AC%E3%83%BC%E3%82%BF)
    - ブロック名：プルダウンで選択 or 自分で入力
    - スタイル名(name)
    - 名前(label)
    - スタイルシート
 * を入力すると、functions.phpにコピペするコードを生成します。

 トピック「register_block_style 関数のコードジェネレータ」には新たに返信すること
はできません。

## タグ

 * [ブロックエディタ](https://ja.wordpress.org/support/topic-tag/%e3%83%96%e3%83%ad%e3%83%83%e3%82%af%e3%82%a8%e3%83%87%e3%82%a3%e3%82%bf/)
 * [register_block_style](https://ja.wordpress.org/support/topic-tag/register_block_style/)

 * フォーラム: [自作品の告知](https://ja.wordpress.org/support/forum/showcase/)
 * 0件の返信
 * 1人の参加者
 * 最後の返信者: [水野史土](https://ja.wordpress.org/support/users/ounziw/)
 * 最後の活動: [6年、 3ヶ月前](https://ja.wordpress.org/support/topic/register_block_style-%e9%96%a2%e6%95%b0%e3%81%ae%e3%82%b3%e3%83%bc%e3%83%89%e3%82%b8%e3%82%a7%e3%83%8d%e3%83%ac%e3%83%bc%e3%82%bf/)
 * 状態: サポート関連の質問ではありません

## トピック

### 人気のトピック

### 返信がないトピック

### サポート関連ではないトピック

### 解決済みのトピック

### 未解決のトピック

### すべてのトピック
