Advertisement
sabbirshouvo

group-page.php-FIXED CODE

Nov 20th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <div class="columns large-8 medium-8">
  2.     <div class="service">
  3.         <div class="service-box">
  4.             <div class="service-body">                                     
  5.             <h2>Diagnostic Test Category</h2>
  6.                 <ul class="diagnosis_test">
  7.                     <?php
  8.                         $args = array( 'hide_empty' => false );
  9.                         $terms = get_terms( 'health_category', $args );
  10.                         if ( ! empty( $terms ) && ! is_wp_error( $terms ) ) {
  11.                             $count = count( $terms );
  12.                                 $i = 0;
  13.                                 $term_list = '';
  14.                                 foreach ( $terms as $term ) {
  15.                                     $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>';
  16.                             }
  17.                             echo $term_list;
  18.                     } ?>
  19.                 </ul>
  20.                                    
  21.             </div>
  22.         </div>
  23.     </div>
  24. </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement