2013-07-20 57 views
0

我的公司wordpress HTML編輯器正在刪除html表單標籤,只要我嘗試通過編輯器將此搜索表單添加到首頁。在我的本地主機上它工作正常,但我無法弄清楚爲什麼我的公司WordPress正在全力以赴。WordPress HTML編輯器刪除表單標籤

這是我嘗試添加:

<div id="bigSearch"> 
<form action="#" method="post"> 
<input type="text" name="keyword" placeholder="Search By Keyword...." /> 
<div id="statusInputs"> 
<select class="status" name="statusOne"> 
    <option selected="selected">Status</option> 
    <option value="foreclosed">Foreclosed</option> 
    <option value="Mountain View">Mountain View</option> 
    <option value="Golf Course">Golf Course</option> 
    <option value="High Speed Access">High Speed Access</option> 
    <option value="Basement">Basement</option> 
    <option value="Club House">Club House</option> 
    <option value="Elevator Access">Elevator Access</option> 
</select> 
<select class="status" name="statusTwo"> 
    <option selected="selected">Status</option> 
    <option value="foreclosed">Foreclosed</option> 
    <option value="Mountain View">Mountain View</option> 
    <option value="Golf Course">Golf Course</option> 
    <option value="High Speed Access">High Speed Access</option> 
    <option value="Basement">Basement</option> 
    <option value="Club House">Club House</option> 
    <option value="Elevator Access">Elevator Access</option> 
</select> 
<select class="status" name="statusThree"> 
    <option selected="selected">Status</option> 
    <option value="foreclosed">Foreclosed</option> 
    <option value="Mountain View">Mountain View</option> 
    <option value="Golf Course">Golf Course</option> 
    <option value="High Speed Access">High Speed Access</option> 
    <option value="Basement">Basement</option> 
    <option value="Club House">Club House</option> 
    <option value="Elevator Access">Elevator Access</option> 
</select> 
<select class="status" name="statusFour"> 
    <option selected="selected">Status</option> 
    <option value="foreclosed">Foreclosed</option> 
    <option value="Mountain View">Mountain View</option> 
    <option value="Golf Course">Golf Course</option> 
    <option value="High Speed Access">High Speed Access</option> 
    <option value="Basement">Basement</option> 
    <option value="Club House">Club House</option> 
    <option value="Elevator Access">Elevator Access</option> 
</select> 
<select class="status" name="statusFive"> 
    <option selected="selected">Status</option> 
    <option value="foreclosed">Foreclosed</option> 
    <option value="Mountain View">Mountain View</option> 
    <option value="Golf Course">Golf Course</option> 
    <option value="High Speed Access">High Speed Access</option> 
    <option value="Basement">Basement</option> 
    <option value="Club House">Club House</option> 
    <option value="Elevator Access">Elevator Access</option> 
</select> 
</div> 
<input type="submit" name="submitForm" value="Search" /> 
</form> 
<p id="advanced"><a href="#">Advanced Search</a></p> 
</div> 

下面是它吐出來對我公司的WordPress

<div id="bigSearch"> 
<form action="#" method="post"> 

<div id="statusInputs"> 

Status 
Foreclosed 
Mountain View 
Golf Course 
High Speed Access 
Basement 
Club House 
Elevator Access 


Status 
Foreclosed 
Mountain View 
Golf Course 
High Speed Access 
Basement 
Club House 
Elevator Access 


Status 
Foreclosed 
Mountain View 
Golf Course 
High Speed Access 
Basement 
Club House 
Elevator Access 


Status 
Foreclosed 
Mountain View 
Golf Course 
High Speed Access 
Basement 
Club House 
Elevator Access 


Status 
Foreclosed 
Mountain View 
Golf Course 
High Speed Access 
Basement 
Club House 
Elevator Access 

</div> 

</form> 
<p id="advanced"><a href="#">Advanced Search</a></p> 
</div> 

任何建議,而我試圖弄明白將不勝感激。 ..

+1

某些插件可能嗎?或者,也許編輯刪除某些標籤是默認的。你可以使用一個插件,允許你通過簡碼插入html –

+0

@SomeshMukherjee你知道這樣做的任何插件嗎?我通過電子郵件發送了我們的服務器/ wordpress處理程序,它負責處理所有後端,所以也許他知道一個插件會搞砸這個。 –

+0

查看我的回答 –

回答

1

你可以試試這個插件來插入html作爲簡碼

您將創建一個與搜索表單相對應的簡碼。並將其插入到您的帖子中

http://wordpress.org/plugins/insert-html-snippet/

+0

謝謝,當然,我的服務器人沒有給我通過WordPress或FTP添加插件的權限......認真嗎?不過謝謝。如果我沒有從其他人那裏得到解決,那不是一個插件,我會在添加這個補丁的時候標記你的權利。 –

+0

哦。我建議竊聽服務器人員進行修復,直到他給出你的管理權限:) –

+0

你會認爲他們會讓首席設計師訪問他的工作嗎?不。不要猜測,哈哈,他們不相信18年來我知道他在做什麼。 –