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 ( ! function_exists( 'flexia_updated_on_v2' ) ) :
function flexia_updated_on_v2() {
// Display the original published date only.
$time_string = sprintf(
'%2$s ',
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 ) {
}
} else {
}
}
endif;
×
FREE PET CARE QUIZ
Discover What's Best
for Your Pet.
Take our 2-minute quiz and get your pet's personalized Pet Wellness Risk results.
Get your pet's health risk score
Personalized care recommendations
Expert tips for your pet's life stage
Take The Quiz Now
Pet Wellness Risk
Example result – take the quiz to see yours!
Skip to content
Welcome Dr. Grittani
More than medicine. It’s a promise
Welcome Dr. Grittani
With Excited Tail Wags & Kitty Purrs, We Welcome Dr. Olivia Grittani!
Online Pharmacy
Visit our Online Pharmacy
Voted Best of Long Island
Voted Best of Long Island
AAHA ACCREDITED
FRIENDLY, CONVENIENT,
EXPERT PRIMARY
VETERINARY CARE
FOR THE PETS OF NASSAU
COUNTY AND GREATER
LONG ISLAND, NEW YORK
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!
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.
Empower your Brand & Captivate your Audience With MultiGency right away and Boost your Business.
© Copyright by WPDeveloper