Support

Account

Home › Forums › Add-ons › Flexible Content Field › Snippet of HTML › Reply To: Snippet of HTML

  • If this is part of a flex field you can add a layout that has no sub fields. Then there’s simply nothing to enter. Then do something like

    
    while(have_rows('flex_field')) {
      the_row();
      if (get_row_layout() == 'your_layout_name') {
        // echo special block of code here
      }
    }