Although I know (or assume) that there are plugins to add contact forms to a wordpress site, I would like to add my own code to fit with my own contact form generator script at addressmunger.com. I figure I can do what I did with my testimonials page, which is create it completely from scratch and just make it look like my wordpress site, and then just link to it. But I want to know how to do it within wordpress, so that, for example, I can edit my wordpress theme and have those changes carry on to my contact us form. The page that isn't working quite right is http://www.juantutors.com/contact-us/ . The CAPTCHA image doesn't appear and I don't know how to make the page work.
Best way in your case (in my view) is to create a new template page in the theme, which will have all the processing code and all the form code, with condition that if a form is submitted apply the processing code, else show the form itself. Where ever you want to put that contact form, say in that contact-us page apply that template.
Is that code postet on an wp page? I think there is a problem about the security reasons about wp. You need to activate, java or php to post in pages with a plugin. Or is my idea wrong?
I've solved the problem. Creating two templates did the job. I created a template called captcha, deleted the entirety of the page except for the top line that names the template, and then pasted the code there. Instead of cutting and pasting the page into the textarea in wordpress, I deleted <?php the_content(); ?> And pasted the form there. Then I created a contact us page left the text area blank, and gave it this new template. Yey! The page works!