Thank You

Experienced attorneys fighting for the compensation you deserve after an accident or injury.

Quality Over Quantity

We intentionally limit our caseload so every client receives the personal attention they deserve — not just a case number.

Client-First Approach

From your first phone call to the resolution of your case, you'll always have direct access to your attorney.

Relentless Advocacy

We fight insurance companies and corporations head-on, never settling for less than what our clients deserve.

// Shortcode to display the number of published posts in the same category as the current post function term_post_count_shortcode($atts) { $atts = shortcode_atts( array( 'id' => '', // optional term ID ), $atts, 'term_count' ); // If term ID is provided, use it if ( !empty($atts['id']) ) { $term_id = intval($atts['id']); } else { // No ID provided: get the first category of the current post global $post; if ( empty($post) ) return ''; $terms = get_the_terms( $post->ID, 'category' ); if ( empty($terms) || is_wp_error($terms) ) return ''; $term_id = intval($terms[0]->term_id); // take the first category } // Query only published posts in this category $args = array( 'post_type' => 'post', 'post_status' => 'publish', 'posts_per_page' => -1, 'tax_query' => array( array( 'taxonomy' => 'category', 'field' => 'term_id', 'terms' => $term_id, ), ), 'fields' => 'ids', ); $posts = get_posts($args); return count($posts); } add_shortcode('term_count', 'term_post_count_shortcode');