How to include all fields in group in post
-
I’d like to have all fields in the group displayed. Currently I am adding the code according to your Types Fields API for each field (see example below) to render each field, but I cannot locate documentation to create 1 line of code for an entire group.
Please let me know if this is possible & what code would be most efficient to render a Types group of fields.
===== Also please note: According to another post in this forum – sorry, I lost the post link – your documentation needs updating on the following 2 pages:
http://wp-types.com/documentation/functions/
and
http://wp-types.com/documentation/user-guides/displaying-wordpress-custom-fields/#1Current *incorrect* code:
<?php echo(types_render_field( “field-slug”, array( “arg1” => “val1”, “arg2” => “val2” ) )); ?>Current *correct* code (for each custom field):
<?php echo(types_render_field(“sitio”, array(“show_name”=>”true”,”output”=>”html”))); ?>Thanks.
- The topic ‘How to include all fields in group in post’ is closed to new replies.