WordPress.org

Support

Support » How-To and Troubleshooting » Homemade PHP Contact Form

Homemade PHP Contact Form

  • bmc1416

    @bmc1416

    Is it possible to make my own contact page with php and use it in a custom wordpress theme?

    What I’ve done is uploaded a new template via ftp to my server, once that was done, I created a new page and choose the new template from my “Template” drop-down menu. I didn’t add anything to the page in the WP admin panel besides a Title.

    When I navigate to the form, fill it in and hit submit I get a 404 error message. The form is supposed to send me an email, then go to a thank you page.

    I’m wondering if there is a problem with my link to the thank you page in my header which is

    header(‘Location: thank-you/’)

    Thanks
    -Brandon

Viewing 2 replies - 1 through 2 (of 2 total)
  • esmi

    @esmi

    Forum Moderator

    You would need to create your own contact form plugin – which seems a little redundant when there are so many existing contact form plugins to choose from.

    bmc1416

    @bmc1416

    Ok, I kind of figured there would be more to it then just creating a page template. Thanks for the response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Homemade PHP Contact Form’ is closed to new replies.
Skip to toolbar