Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Jeff Starr

    (@specialk)

    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

    (@teleanu)

    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

    (@specialk)

    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

    (@teleanu)

    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

    (@specialk)

    ?

    Thread Starter teleanu

    (@teleanu)

    edited. sorry 🙂

    Plugin Author Jeff Starr

    (@specialk)

    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

    (@teleanu)

    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.