回答編集履歴

1

情報の追加。

2018/12/25 02:58

投稿

kei344
kei344

スコア69446

test CHANGED
@@ -1 +1,41 @@
1
1
  投稿の本文エリアに貼り付けているのであれば、途中の改行を全部削除してみてください。
2
+
3
+
4
+
5
+ ---
6
+
7
+
8
+
9
+ **追記:**
10
+
11
+
12
+
13
+ inputが消されるからですね。
14
+
15
+
16
+
17
+ 【$allowedposttags – WordPress私的マニュアル】
18
+
19
+ [https://elearn.jp/wpman/variable/allowedposttags.html](https://elearn.jp/wpman/variable/allowedposttags.html)
20
+
21
+ > 注意
22
+
23
+ WordPress 3.3.1標準の状態では、次のHTMLタグが登録されている。
24
+
25
+ a, abbr, acronym, article, aside, b, big, blockquote, br, button, caption, cite, code, col, del, dd, details, div, dl, dt, em, fieldset, figure, figcaption, font, footer, form, h1, h2, h3, h4, h5, h6, header, hgroup, hr, i, img, ins, kbd, label, legend, li, menu, nav, p, pre, q, s, span, section, strike, strong, sub, summary, sup, table, tbody, td, textarea, tfoot, th, thead, title, tr, tt, u, ul, ol, var
26
+
27
+
28
+
29
+ フックを使って必要な要素・属性を許可する必要があります。
30
+
31
+
32
+
33
+ 【【ワードプレス】投稿できるHTMLタグ(iframeなど)を追加する方法 | あずみ.net】
34
+
35
+ [https://a-zumi.net/allowed-html-add-iframe/](https://a-zumi.net/allowed-html-add-iframe/)
36
+
37
+
38
+
39
+ 【記事投稿時に任意のHTML属性を追加する方法 | Webエンジニアブログ】
40
+
41
+ [http://dim5.net/wordpress/new-html-attribute.html](http://dim5.net/wordpress/new-html-attribute.html)