function my_flexia_override() { remove_action( 'flexia_single_large_title', 'flexia_post_large_title' ); add_action( 'flexia_single_large_title', 'my_flexia_single_large_title' ); } add_action( 'wp', 'my_flexia_override' ); function my_flexia_single_large_title() { global $post; $flexia_single_posts_layout = get_theme_mod('flexia_single_posts_layout', 'flexia_single_posts_layout_large'); if( metadata_exists( 'post', $post->ID, '_flexia_post_meta_key_page_title' ) ) { $post_title = get_post_meta( $post->ID, '_flexia_post_meta_key_page_title', true ); $post_title_header_meta = get_post_meta( $post->ID, '_flexia_post_meta_key_header_meta', true ); if( $post_title == 'default' || $post_title == NULL ) { if( $flexia_single_posts_layout == 'flexia_single_posts_layout_large' ) { flexia_post_large_title_markup(); if( $post_title_header_meta == 'yes' || $post_title_header_meta == NULL ) { flexia_post_large_title_header_meta_markup_v2(); } }else { return false; } }elseif( $post_title == 'large') { flexia_post_large_title_markup(); if( $post_title_header_meta == 'yes' || $post_title_header_meta == NULL ) { flexia_post_large_title_header_meta_markup_v2(); } }else { return false; } } else { if( $flexia_single_posts_layout == NULL || $flexia_single_posts_layout == 'flexia_single_posts_layout_large' ) { flexia_post_large_title_markup(); flexia_post_large_title_header_meta_markup_v2(); } } } function flexia_post_large_title_header_meta_markup_v2() {
if ( 'post' === get_post_type() ) :
flexia_updated_on_v2();
endif;
} if ( ! function_exists( 'flexia_updated_on_v2' ) ) : function flexia_updated_on_v2() { // Display the original published date only. $time_string = sprintf( '', esc_attr( get_the_date( 'c' ) ), esc_html( get_the_date() ) ); global $post; /* * Post Title Header Post Date */ if ( metadata_exists( 'post', $post->ID, '_flexia_post_meta_key_header_post_date' ) ) { $post_title_header_post_date = get_post_meta( $post->ID, '_flexia_post_meta_key_header_post_date', true ); if ( $post_title_header_post_date == 'yes' || $post_title_header_post_date == NULL ) { $published_on = sprintf( /* translators: %s: post date. */ esc_html_x( 'Published on %s', 'post date', 'flexia' ), '' . $time_string . '' ); echo ' ' . $published_on . ' '; } } else { $published_on = sprintf( /* translators: %s: post date. */ esc_html_x( 'Published on %s', 'post date', 'flexia' ), '' . $time_string . '' ); echo ' ' . $published_on . ' '; } /* * Post Title Header Post Category */ if ( metadata_exists( 'post', $post->ID, '_flexia_post_meta_key_header_post_category' ) ) { $post_title_header_post_category = get_post_meta( $post->ID, '_flexia_post_meta_key_header_post_category', true ); if ( $post_title_header_post_category == 'yes' || $post_title_header_post_category == NULL ) { $categories_list = get_the_category_list( esc_html__( ', ', 'flexia' ) ); if ( $categories_list ) { printf( ' ' . __( 'Categories %s', 'flexia' ) . ' ', $categories_list ); } } } else { $categories_list = get_the_category_list( esc_html__( ', ', 'flexia' ) ); if ( $categories_list ) { printf( ' ' . __( 'Categories %s', 'flexia' ) . ' ', $categories_list ); } } /* * Post Comments */ if ( metadata_exists( 'post', $post->ID, '_flexia_post_meta_key_header_post_comments' ) ) { $post_title_header_post_comments = get_post_meta( $post->ID, '_flexia_post_meta_key_header_post_comments', true ); if ( $post_title_header_post_comments == 'yes' || $post_title_header_post_comments == NULL ) { comments_number( 'No Responses', '1 Comment', '% Comments' ); } } else { comments_number( 'No Responses', '1 Comment', '% Comments' ); } } endif;

Front Page

slide 1
Welcome Dr. Grittani
More than medicine. It’s a promise
previous arrowprevious arrow
next arrownext arrow
Shadow

Services

  • Preventative Care & Wellness
  • Diagnostic Care
  • General and Specialty Surgery
  • Pet Dentistry
  • Ultrasound
  • Endoscopy
  • Laser Therapy
  • Cryotherapy
  • Puppy & Kitten Care
  • Spay & Neuter
  • Vaccination
  • Senior Pet Care & More!
Oath Animal Hospital

Discover the Care Your Pets Deserve

At Oath Animal Hospital, we combine compassion, expertise, and state-of-the-art care to keep your furry family members happy and healthy. See why pet owners trust Oath Animal Hospital.

AAHA Accredited

REVIEWS

LOCATION

Oath Animal Hospital

505 Newbridge Rd,
East Meadow, NY 11554
516-951-0254
Book Here