Advertisement
Guest User

Untitled

a guest
Apr 19th, 2012
1,944
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement