Support

Account

Forum Replies Created

  • Try this:

    $fieldname = get_sub_field_object('col_left');
     $value = $fieldname['_name']; ?>
    
    <div class="<?php echo $value; ?>">Blablabla</div>
    

    This should give you
    <div class="col_left">Blablabla</div>

  • Same here. Tried deactivating license and re-entering it, to no avail.

  • Ah, of course! A negative value would be the easier route for the situation I described.

    Also it occurred to me that when creating field groups, if I initially number them with values like 10, 20, 30, etc, then I can more easily insert additional field groups in desired order w/o having to re-number all the rest.

    After I posted this I happened to discover the description field for field groups – never saw that before! So I could use that to indicate the order number as well as the location of the field group (if it’s not evident by the title) so I can quickly scan through the list of groups and get that kind of info without having to click on ‘edit’.

    Anyway thanks James, for your quick reply and suggestion. Cheers!

Viewing 3 posts - 1 through 3 (of 3 total)