Is it possible to get this without using a custom WP/SQL query? I need each of my sub layouts to have a unique but repeatable ID.
while(have_rows('layouts')):
the_row();
$layout = get_row_layout();
?>
<?php if($layout == "default_text_block"): ?>
<section id="META-KEY-PLEASE!">
//blah blah
</section>
Cheers.
Bump.
I really need this. Any solutions yet?