Support

Account

Home Forums Add-ons Flexible Content Field Get flexible layout field subfield outside loop Reply To: Get flexible layout field subfield outside loop

  • Thanks John

    That will be like using the get_field_object('some_field_name') function on the page, meaning it will retrieve the entire field object – with all the subfields.

    I’am looking for something more simple (if possiable). Something like
    the_sub_field('sub_field') – but that can only work inside the loop.

    if only there was get_some_subfeild(field-name, subfield-name, subfiled_index/id')..

    is there a way to get a subfield directly using his ID or something?