Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <div class="columns large-8 medium-8">
- <div class="service">
- <div class="service-box">
- <div class="service-body">
- <h2>Diagnostic Test Category</h2>
- <ul class="diagnosis_test">
- <?php
- $args = array( 'hide_empty' => false );
- $terms = get_terms( 'health_category', $args );
- if ( ! empty( $terms ) && ! is_wp_error( $terms ) ) {
- $count = count( $terms );
- $i = 0;
- $term_list = '';
- foreach ( $terms as $term ) {
- $term_list .= '<li><a href="' . get_term_link( $term ) . '" title="' . sprintf( __( 'View all post filed under %s', 'my_localization_domain' ), $term->name ) . '">' . $term->name . '</a></li>';
- }
- echo $term_list;
- } ?>
- </ul>
- </div>
- </div>
- </div>
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement