2017-02-08 25 views
0

我想使用get方法在wordpress中提交表單,但是當我提交它時顯示404未找到頁面。以wordpress形式獲取方法

我使用Google搜索但未找到。

任何人都可以他嗎?

<form action="" method="get"> 
    <label>ID</label> 
    <input type="text" name="id"> 
    <lable>Name</lable> 
    <input type="text" name="name"> 
    <input type="submit" value="Go!"> 
</form> 

回答

0

看看這個...

http://www.w3schools.com/tags/tryit.asp?filename=tryhtml_form_method

你的表格操作不會有這樣的事 - 這個塊的代碼

<form action="" method="get"> 

應該看起來更這樣

<form action="page.html" method="get"> 

該頁面需要對剛剛發送的數據進行一些操作...

如果您試圖在您的網站上使用簡單的表單並且對此不瞭解太多,更好的插件

嘗試類似'contact form7'...很受歡迎