bhubbard
3/25/2015 - 5:59 PM

WP Lawyer Taxonomies

WP Lawyer Taxonomies


<?php
  // Practice Areas
    $terms = get_the_terms( $post->ID, 'wplawyer-practice-area' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>

<?php
  // Cities
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-city' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>


<?php
  // Cities
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-city' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>


<?php
  // Counties
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-county' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>

<?php
  // States
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-state' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>


<?php
  // Districts
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-district' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>


<?php
  // Law Schools
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-lawschool' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>

<?php
  // Undergraduate Schools
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-undergrad' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>


<?php
  // Languages
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-languages' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>

<?php
  // Languages
    $terms = get_the_terms( $post->ID, 'wplawyer-attorney-associations' );
    foreach($terms as $term) {
      echo $term->name;
    }
?>