how to allow HTML tags in php <textarea> in wordpress. i have created the function for admin page like custom option but the i failed to maintain it for template main page
Actually the textarea attribute is used when we have to input big field like address of the person in the form.. <?php $text = "This is my webpage: please put any of your details: <textarea>Hello World!</textarea>"; ?> Edit Your Webpage: <textarea id="editPage"><?php echo $text; ?></textarea>
He didn't need explanation of using textarea, he needs to allow html tags for wp textarea... Try this...
If you're going to use it for wordpress theme admin. Use the following code: <textarea name="name of textarea"><?php echo stripslahses($your_variable_or_text);?></textarea> This will definitely helps you.