Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // vars
- $urls = get_field('menusidebar');
- // check
- if( $urls ): ?>
- <div class="col-sm-3 sidebar1">
- <h3>Further reading</h3>
- <ul class="ul1">
- <?php foreach( $urls as $url ): ?>
- <li>
- <a href="<?php echo $url ?>"><?php echo $url; ?></a>
- </li>
- <?php endforeach; ?>
- </ul>
- <?php endif; ?>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement