WordPress.org

Ready to get started?Download WordPress

Forums

Easy
[resolved] Displaying html in text (3 posts)

  1. Robax
    Member
    Posted 1 year ago #

    In the documentation it states that you can put html in the view slot under the text brick. However, I am having trouble making this work in practice.

    Specifically, I would like to add page breaks (
    ) here, instead of cheesy hyphen lines:
    http://www.outsidetheirbox.com/mind

    http://wordpress.org/extend/plugins/easy/

  2. 2046
    Member
    Plugin Author

    Posted 1 year ago #

    yep, you are right!

    That is because of the new security. All the fields are escaped, so that nobody can inject anything wrong in there.

    You can make your own brick if you like, here is how: http://2046.cz/easy/extend

    only the esc value should be empty in your case:
    'esc' => 'stip_tags' // empty means ''

    put the whole code (from link) in your function.php and you should be ready to go.
    If you know how to work with WP templates you can hack the control output even further if you like.

    This way it will be your fault if someone hack your site and inject something in there, which is unlikely ..anyway.

    UPDATE:
    It won't work.. I'm checking the field if it is not empty, and if it is, it won't process the data.

    Let me think.. I should think about the solution first

  3. 2046
    Member
    Plugin Author

    Posted 1 year ago #

    New version should be ready for download:

    version 0.8.1 changes
    * small fix (before & after widget)
    * text Brick allows html tags, same as you can use in post content

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.