Hello everyone, I'm switching my website www.earningonlinemoney.com over from regular .html files to wordpress. And on my contact us page and stuff on the .html files I used html <form> codes to put in the email forms.. and to make them work correctly I had to have a .php file in the public_html folder. So now that I'm adding wordpress I can still have my html form but where do I put the .php file that was in the public_html folder? I don't think it will work from there anymore.. so where do i put it? Or are there wordpress plugins for email forms that anyone knows about that are good? I got one plugin for email for but I don't know how to use it.. it has a readme that says how to make the form.. it gives you the code but it doesn't tell you where to put the code? hm.. it's in weird brackets like {email form} Well thanks in advance for any help guys.
You might want to post this in the Programming or Site and Server Administration section... where you put form code is likely dependent on your server setup.
Wordpress is a content management system and adding PHP code to posts is disallowed by default because of security reasons. You may: a) use some plugin with functionality you are after (or write your own plugin by using Wordpress API) b) use a plugin that allows you to insert PHP code into posts and do the PHP scripting right in the post above the form (I really don't recommend this) c) create a separate PHP file with the form and its processing (looking the same as the blog, with the same styling and layout) and link to it from your blog as if it were a page. Just make sure the URI to the file does not get rewritten if you are using .htaccess to rewrite your blog's URIs. And yeah, this is probably a wrong section for this kind of questions.
You can add forms if you write your own plugin and it's not hard but I've just added some complex forms to andrewking.co.nz using http://wordpress.org/extend/plugins/contact-form-7/ and if you have basic html (for the form layout) you can do reasonably complex forms and emails using it.