Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 19th, 2012  |  syntax: PHP  |  size: 0.40 KB  |  hits: 208  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. <div class="wrapper">
  2.  
  3.         <?php while(the_flexible_field("content")): ?>
  4.          
  5.                 <?php if(get_row_layout() == "1-col"): ?>
  6.          
  7.                         <div class="singlecol">
  8.                                 <?php                                                          
  9.                                 $TheID = get_sub_field('full_column_1col');
  10.                                 $TheID = $TheID->ID;
  11.                                                                                                
  12.                                 echo $TheID;
  13.                                
  14.                                 ?>
  15.                         </div>
  16.                        
  17.                         <div class="clearit"></div>
  18.  
  19.                 <?php endif; ?>
  20.          
  21.         <?php endwhile; ?>
  22.  
  23. </div>