Advertisement
FriendlyWP

MasterPress site fieldset loop

Jul 2nd, 2013
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.40 KB | None | 0 0
  1. <?php if ($footer_logos = $wf->site->has("footer_logos")) : ?>
  2.  
  3.                         <ul>
  4.                           <?php foreach ($footer_logos as $footer_logo) : ?>
  5.                           <li>
  6.                             <a href="<?php echo $wf->site->footer_logos->logo_link; ?>" class="thumbnail">
  7.                                 <?php echo $wf->site->footer_logos->logo_image; ?>
  8.                             </a>
  9.                           </li>
  10.                           <?php endforeach; ?>
  11.  
  12.                         </ul>
  13.                          
  14.                         <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement