Here’s an example of the form:
<p>Name:<br />[text* your-name 28/100]</p>
<p>E-mail address:<br />[email* your-email 28/100]</p>
<p>Phone number:<br />[text* your-phone 28/100]</p>
<p>Message<br />[textarea* your-message 21x5]</p>
<p>[submit "Send"]</p>
To use it in the sidebar, install the “PHP Code Widget”
and place the PHP Code widget on the sidebar. You can then
reference your Contact Form 7 form from within the widget
by entering
<?php echo do_shortcode('[contact-form 4 "Sidebar Contact"]'); ?>
where [contact-form 4 "Sidebar Contact"] needs to be adjusted
to whatever number and name applies to your form.
I have a problem on this issue too…
I have this form in the contact edit:
Name of my contactform: [contact-form 2 "scribbler"]
[text* text-467 id:fromname]
[email* email-2 id:scribbleremail]
[textarea* textarea-685 id:scribble_text]
[submit id:sendscribbler]
If I use this code: <?php echo do_shortcode( ‘[contact-form 2 "scribbler"]‘ ); ?>, I get the form and it works.
But how do I put this in a form tag (in my case) in the footer.php?
If you see on http://www.scribblerportfolio.com you see my problem.
I wanna place each input field in their own div.
Please help me, I am on deadline on this project and I am pretty desperate 🙂
Thank you!