WordPress.org

Ready to get started?Download WordPress

Forums

Creating a custom form for my theme (3 posts)

  1. Benjamin L.
    Member
    Posted 5 years ago #

    Hi everyone,

    I am trying to do a simple thing : creating a custom form for my theme (knowing that I'd like to create it without using a plugin).

    1. I have added a form with a text input (post method)
    2. I have setup a page with a specific template where I do a count on $_POST
    3. The form action calls the page

    As a result, I have... nothing. $_POST is never set.

    As it is the very basic of PHP, I can't figure why it doesn't work.

    Any help is welcomed.

  2. Benjamin L.
    Member
    Posted 5 years ago #

    OK. The way I do it works fine with 2.6.5 version but not under the 2.7.

    Any idea ?

  3. orbitkiller
    Member
    Posted 4 years ago #

    Yes, i have almost the same problem, under admin area, creating a custom admin panel.

    Anybody with an idea to solve this, $_POST vars are never set, or passed correctly.

Topic Closed

This topic has been closed to new replies.

About this Topic