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:
Current *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”))); ?>
- The topic ‘How to include all fields in group in post’ is closed to new replies.