Solved

Wordpress strips out <textarea> tag

Posted on 2014-01-09
1
371 Views
Last Modified: 2014-01-10
I have some HTML code within Wordpress where I am using the <textarea> tag. It works fine as long as the only editing is done in the "text" area of the edit page. But if you switch to the "visual" tab it strips that tag out.

I realize there is probably a simple answer to this, if someone could clue me in please.
0
Comment
Question by:Oscar9ertango
1 Comment
 
LVL 70

Accepted Solution

by:
Jason C. Levine earned 500 total points
ID: 39769062
Yes, WordPress fires a function whenever you publish or switch tabs that can blow away the HTML markup.

Try this plugin:

wordpress.org/plugins/preserved-html-editor-markup/
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

So you have coded your own WordPress plugin and now you want to allow users to upload images to a folder in the plugin folder rather than the default media location? Follow along and this article will show you how to do just that!
I annotated my article on ransomware somewhat extensively, but I keep adding new references and wanted to put a link to the reference library.  Despite all the reference tools I have on hand, it was not easy to find a way to do this easily. I finall…
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

775 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question