Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ARCHIVE-GALLERY.php
- <?php $cats = get_galleries() ?>
- <ul>
- <?php foreach ( $cats as $cat ) : ?>
- <li>
- <a href="<?php the_gallery_link($cat) ?>">
- <?php the_gallery_featured_image($cat) ?>
- </a>
- <a href="<?php the_gallery_link($cat) ?>">
- <?php echo $cat->name ?>
- </a>
- </li>
- <?php endforeach ?>
- </ul>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement