Skip to:
Content
Pages
Categories
Search
Top
Bottom

HTML In Custom Fields

  • @alanchrishughes

    Participant

    This isn’t a Buddypress specific question but I know there are some really smart dudes on here that would know the answer. I setup up a special custom field box for people to past Vimeo video code, which uses an iframe. The problem is this textarea then tries to render the iframe/html after the post has been saved, instead of showing the raw html. Is there a way to stop the html from rendering like how WordPress’s html post tab does? Thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • @modemlooper

    Moderator

    Try using `

    ` or `` wrapped around HTML

    @alanchrishughes

    Participant

    Thanks man, that kind of works, it cuts off the code and only shows

    <iframe src=

    @modemlooper

    Moderator

    `` your stuff in the middle ``

    @alanchrishughes

    Participant

    That is how I set it up. The

     tag cuts it off, using the  tag cuts it off but also shows the closing /> outside of the input box.

    @alanchrishughes

    Participant

    haha, what I wrote was the pre tag cuts it off, and the code tag cuts it off and shows the extra code awkwardly outside of the input box

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘HTML In Custom Fields’ is closed to new replies.
Skip to toolbar