私はcf7フォームにIDを追加しようとしています。 cf7フォーラムによれば、ショートコードにhtml_id="your id"
を追加するだけですが、なんらかの理由で動作しません。「連絡先フォーム7」フォームにIDを追加
これは私のショートである -
[cf7-form id="hp-top-partial" html-id="cf7-hp-top-partial" html_class="form nini-form" cf7key="question"]
任意の提案ですか?
私はcf7フォームにIDを追加しようとしています。 cf7フォーラムによれば、ショートコードにhtml_id="your id"
を追加するだけですが、なんらかの理由で動作しません。「連絡先フォーム7」フォームにIDを追加
これは私のショートである -
[cf7-form id="hp-top-partial" html-id="cf7-hp-top-partial" html_class="form nini-form" cf7key="question"]
任意の提案ですか?
あなたのCF7 code
でid
を追加し、イースリーのCSSを与えることができ、「お問い合わせフォーム7」フォームの
[contact-form-7 id="hp-top-partial" title="Contact form 1" html_id="contact-form-hp-top-partial" html_class="form contact-form"]
表示する画像を、この短いコードを試してみて、そこ
をあなたのIDを追加あなたの連絡フォームとそれは簡単に変更またはアクセスする方法です。
cf7の任意のフィールドにidを追加できます。
[text* Name id:name class:input_box placeholder "Name"]
はい。 html_id
とhtml_class
属性を[contact-form-7] shortcode
に追加することで、フォームにIDとクラスを追加できます。
例:
[contact-form-7 id="1234" title="Contact form 1" html_id="contact-form-1234" html_class="form contact-form"]
は、あなたの答えにコードを追加します。それをイメージとして表示する必要はありません。 –