Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $subsite = $query->subsite();
- if ($subsite){
- foreach ($subsite as $sub) {
- echo '<div class="school-container">';
- echo '<div class="col-md-3 school-content-fontello"><i class="'.$sub->fontello.'"></i> </div>';
- echo '<div class="col-md-3 school-content">';
- echo '<a href="#'.$sub->ID.'">'.$sub->title.'</a>';
- echo '<p>'.$sub->description.'</p>';
- echo '</div>';
- echo '</div>';
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement