Advertisement
Guest User

Untitled

a guest
Jan 13th, 2018
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.60 KB | None | 0 0
  1. <!-- Produktion -->
  2. <?php
  3.  
  4. if( have_rows('reihe_produktion') ):
  5.     echo '<h2 id="produktion">Produktion</h2>';
  6.     echo '<table>';
  7.     echo '<th>Aufgabe</th>';
  8.             echo '<th>Name</th>';  
  9.             while ( have_rows('reihe_produktion') ) : the_row();
  10.             echo '<tr>';
  11.                 echo '<td>'.get_sub_field('reihe_produktion_aufgabe').'</td>';
  12.                 echo '<td>'.get_sub_field('reihe_produktion_name').'';
  13.             if( have_rows('test') ):
  14.             while( have_rows('test') ): the_row();
  15.                 echo ''if get_sub_field('trtrt')'</td>';
  16.         endwhile;
  17.         endif;
  18.             echo '</tr>';
  19.         endwhile;
  20.     echo '</table>';
  21. endif;
  22.  
  23. ?>
  24. <!-- END Produktion -->
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement