Advertisement
FriendlyWP

Multi-field set for site fields, MasterPress

Jun 28th, 2013
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.31 KB | None | 0 0
  1. <?php if ($footer_icons = $wf->site->has("footer_icons")) : ?>
  2.   <ul>
  3.       <?php foreach ($footer_icons as $footer_icon) : ?>
  4.     <li>
  5.          <a href="<?php echo $footer_icon->url(); ?>" class="thumbnail">
  6.          <?php echo $footer_icon->path(); ?>
  7.          </a>
  8.     </li>
  9.       <?php endforeach; ?>
  10.   </ul>
  11. <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement