WordPress.org

Ready to get started?Download WordPress

Forums

Homemade PHP Contact Form (3 posts)

  1. bmc1416
    Member
    Posted 2 years ago #

    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

  2. esmi
    Forum Moderator
    Posted 2 years ago #

    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.

  3. bmc1416
    Member
    Posted 2 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic