WordPress.org

Ready to get started?Download WordPress

Forums

Types - Custom Fields and Custom Post Types Management
[resolved] How to include all fields in group in post (3 posts)

  1. mangoman
    Member
    Posted 1 year ago #

    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/#1

    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"))); ?>

    Thanks.

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

  2. mbigul
    Member
    Plugin Author

    Posted 1 year ago #

    Hi mangoman,

    Sorry this feature is not supported in Types now. We are considering it in future.

    [ Signature moderated. ]

  3. mangoman
    Member
    Posted 1 year ago #

    Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic