Title: how to paste code (css, php, html, etc&#8230;) in Post content Area
Last modified: August 21, 2016

---

# how to paste code (css, php, html, etc…) in Post content Area

 *  Resolved [teleanu](https://wordpress.org/support/users/teleanu/)
 * (@teleanu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/)
 * how to paste code (css, php, html, etc…) in Post content Area and to show the
   code with syntax highlights? It’s this possible?
 * I want it to be posted as **code**
 * [https://wordpress.org/plugins/user-submitted-posts/](https://wordpress.org/plugins/user-submitted-posts/)

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5082915)
 * Are you referring to `<code>` tags? If so, code tags should remain intact and
   appear in post content. Otherwise, please let me know and I’ll try to help.
 *  Thread Starter [teleanu](https://wordpress.org/support/users/teleanu/)
 * (@teleanu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083032)
 * When the visitor uses the Post content Area and is pasting a php, css code, i
   want the form to post this as a code. I will use the User Submitted Posts in 
   this context. As a paste code website. Like pastebin 🙂
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083056)
 * When it comes to submitted content, there is no real difference between “code”
   and regular text — it depends on how it is formatted. For example, wrapping a
   string or block of text with `<code>` and/or `<pre>` tags is the conventional
   way of displaying code, and USP accepts both in post content no problem.
 *  Thread Starter [teleanu](https://wordpress.org/support/users/teleanu/)
 * (@teleanu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083059)
 * Was thinking if USP can have auto set for code or pre. I don’t want people to
   use this tags. They must paste the php, css code & the USP form to publish it
   like he had put code or pre
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083063)
 * ?
 *  Thread Starter [teleanu](https://wordpress.org/support/users/teleanu/)
 * (@teleanu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083065)
 * edited. sorry 🙂
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083067)
 * With the free version of USP, there is one content field, so it’s all or nothing
   that way. For the Pro version, however, forms can have multiple content areas(
   i.e., textareas), so one of them could be set up specifically for the codes.
 *  Thread Starter [teleanu](https://wordpress.org/support/users/teleanu/)
 * (@teleanu)
 * [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083071)
 * Ok. Thank you for your answer.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘how to paste code (css, php, html, etc…) in Post content Area’ is closed
to new replies.

 * ![](https://ps.w.org/user-submitted-posts/assets/icon-256x256.png?rev=2567685)
 * [User Submitted Posts – Enable Users to Submit Posts from the Front End](https://wordpress.org/plugins/user-submitted-posts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-submitted-posts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-submitted-posts/)
 * [Active Topics](https://wordpress.org/support/plugin/user-submitted-posts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-submitted-posts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-submitted-posts/reviews/)

## Tags

 * [code](https://wordpress.org/support/topic-tag/code/)
 * [css](https://wordpress.org/support/topic-tag/css/)
 * [html](https://wordpress.org/support/topic-tag/html/)
 * [paste](https://wordpress.org/support/topic-tag/paste/)
 * [php](https://wordpress.org/support/topic-tag/php/)

 * 8 replies
 * 2 participants
 * Last reply from: [teleanu](https://wordpress.org/support/users/teleanu/)
 * Last activity: [11 years, 11 months ago](https://wordpress.org/support/topic/how-to-paste-code-css-php-html-etc-in-post-content-area/#post-5083071)
 * Status: resolved