WordPress.org

Support

Support » Plugins and Hacks » Toolset Types » [Resolved] how to wrap Type field values inside html tags?

[Resolved] how to wrap Type field values inside html tags?

  • Yes, this is a lame question, but I’m not familiar with arrays etc.

    I added checkboxes in my Types fields:

    Option 1
    Option 2
    Option 3

    to create a non-ordered list of options rendered at frontend as:

    • Option 1
    • Option 2
    • Option 3

    but I don’t know how to render
    <li>...</li>
    for each list element rendered.

    I tried:

    <ul>
    <?php echo(types_render_field("mylist", array("before"=>"<li>","after"=>"</li>"))); ?>
    </ul>

    but it doesn’t work. Only values are being rendered – w/o the html tags.

    I will be very thankful for help.

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] how to wrap Type field values inside html tags?’ is closed to new replies.
Skip to toolbar