Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $terms = apply_filters( 'taxonomy-images-get-terms', '', array('taxonomy' => 'bm_tax_products_company') );
- if ( ! empty( $terms ) ) {
- foreach( (array) $terms as $term ) {
- ?>
- <div class="col-md-4">
- <div class="services-post">
- <a href="<?php echo get_bloginfo( 'url') .'/?qmt[bm_tax_products_company][]='. $term->term_id; ?>">
- <?php echo wp_get_attachment_image( $term->image_id, 'cmpny_img' ); ?>
- </a>
- <div class="services-post-content">
- <h4><?php echo $term->name; ?></h4>
- <p><?php echo $term->description; ?></p>
- </div>
- </div>
- </div>
- <?php
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement