Title: カスタム投稿でCustom Field TemplateのmultipleButtonが機能しません。。。
Last modified: 2013年5月28日

---

# カスタム投稿でCustom Field TemplateのmultipleButtonが機能しません。。。

 *  解決済 [plum0710](https://ja.wordpress.org/support/users/plum0710/)
 * (@plum0710)
 * [13年、 4ヶ月前](https://ja.wordpress.org/support/topic/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%81%a7custom-field-template%e3%81%aemultiplebutton%e3%81%8c%e6%a9%9f%e8%83%bd%e3%81%97%e3%81%be%e3%81%9b%e3%82%93%e3%80%82%e3%80%82%e3%80%82/)
 * 申し訳ありません。ご教授お願いします。
 * カスタム投稿でCustom Field Template（プラグイン）のmultipleButton機能を使用した
   いのですが、追加ボタンを押しても機能してくれません。（編集用URLに#clearが追加
   されるのみです）
 * デフォルトの投稿に対して全く同じテンプレートコンテンツを入れると機能するため、
   非常に混乱しています。
 * 以下、Custom Field Templateの設定です。
 *  `[field0]
    type = fieldset_open legend = コンテンツ multiple = true multipleButton
   = true blank = true
 * [タイプ選択]
    type = select value = type1 # type2 valueLabel = タイプ１ # タイプ
   ２ default = type1 label = タイプ選択 selectLabel = 使用するタイプを選択してくだ
   さい
 * [画像アップロード1]
    type = file label = アップロードする画像を選択してください。
   mediaLibrary = true mediaRemove = true mediaPicker = true
 * [文章]
    type = textarea rows = 4 cols = 40 tinyMCE = false
 * [field0]
    type = fieldset_close
 *     ```
       またカスタム投稿は以下のコードをfunction.phpに入力しています。
       以下のような設定ですので「カスタムポストタイプ （カンマ区切り）:」の中にblogを入れて使用しようとしています。
       ```
   
 * function custom_post_type_add(){
    register_post_type(‘blog’, array( ‘label’ =
   > ‘ブログ’, ‘description’ => ”, ‘public’ => true, ‘show_ui’ => true, ‘show_in_menu’
   => true, ‘capability_type’ => ‘post’ ‘hierarchical’ => false, ‘rewrite’ => array(‘
   slug’ => ”), ‘query_var’ => true, ‘exclude_from_search’ => false, ‘supports’ 
   => array(‘title’,’thumbnail’,), ‘taxonomies’ => array(‘category’,’post_tag’) ‘
   has_archive’ => true, ‘menu_position’ => 2, ‘labels’ => array ( ‘name’ => ‘ブログ’,‘
   singular_name’ => ‘ブログ’, ‘menu_name’ => ‘ブログ’, ‘add_new’ => ‘新規追加’,‘
   add_new_item’ => ‘新規投稿を追加’, ‘edit’ => ‘Edit’, ‘edit_item’ => ‘ブログの
   編集’, ‘new_item’ => ‘New ブログ’, ‘view’ => ‘View ブログ’, ‘view_item’ => ‘投稿
   を表示’, ‘search_items’ => ‘ブログを検索’, ‘not_found’ => ‘No ブログ Found’, ‘
   not_found_in_trash’ => ‘No ブログ Found in Trash’, ‘parent’ => ‘Parent ブログ’,),));}
   add_action(‘init’, ‘custom_post_type_add’); `
 * 大変、申し訳ありませんがお力添えどうかお願いします。

2件の返信を表示中 - 1 - 2件目 (全2件中)

 *  トピック投稿者 [plum0710](https://ja.wordpress.org/support/users/plum0710/)
 * (@plum0710)
 * [13年、 4ヶ月前](https://ja.wordpress.org/support/topic/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%81%a7custom-field-template%e3%81%aemultiplebutton%e3%81%8c%e6%a9%9f%e8%83%bd%e3%81%97%e3%81%be%e3%81%9b%e3%82%93%e3%80%82%e3%80%82%e3%80%82/#post-161588)
 * 申し訳ありません。
    初投稿なものでコードの囲いこみがうまくできておらず、見にくい
   です。。。
 *  トピック投稿者 [plum0710](https://ja.wordpress.org/support/users/plum0710/)
 * (@plum0710)
 * [13年、 4ヶ月前](https://ja.wordpress.org/support/topic/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%81%a7custom-field-template%e3%81%aemultiplebutton%e3%81%8c%e6%a9%9f%e8%83%bd%e3%81%97%e3%81%be%e3%81%9b%e3%82%93%e3%80%82%e3%80%82%e3%80%82/#post-161613)
 * 申し訳ありません。自己解決しました。
 * supportsのeditorを抜くとmultipleButtonが機能しなくなるようです。

2件の返信を表示中 - 1 - 2件目 (全2件中)

 トピック「カスタム投稿でCustom Field TemplateのmultipleButtonが機能しません。。。」
には新たに返信することはできません。

## タグ

 * [カスタム投稿タイプ](https://ja.wordpress.org/support/topic-tag/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%82%bf%e3%82%a4%e3%83%97/)
 * [Custom Field Template](https://ja.wordpress.org/support/topic-tag/custom-field-template/)
 * [multipleButton](https://ja.wordpress.org/support/topic-tag/multiplebutton/)

 * フォーラム: [プラグイン](https://ja.wordpress.org/support/forum/plugins/)
 * 2件の返信
 * 1人の参加者
 * 最後の返信者: [plum0710](https://ja.wordpress.org/support/users/plum0710/)
 * 最後の活動: [13年、 4ヶ月前](https://ja.wordpress.org/support/topic/%e3%82%ab%e3%82%b9%e3%82%bf%e3%83%a0%e6%8a%95%e7%a8%bf%e3%81%a7custom-field-template%e3%81%aemultiplebutton%e3%81%8c%e6%a9%9f%e8%83%bd%e3%81%97%e3%81%be%e3%81%9b%e3%82%93%e3%80%82%e3%80%82%e3%80%82/#post-161613)
 * 状態: 解決済

## トピック

### 人気のトピック

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

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

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

### 未解決のトピック

### すべてのトピック
