Bank of Baroda loan against property
Samastipur News
/* ЁЯФ╣ Show Custom Meta Description Below Title ЁЯФ╣ */ add_filter('the_content', 'show_custom_meta_description_below_title'); function show_custom_meta_description_below_title($content) { if (is_singular('post')) { global $post; $meta_desc = ''; // Check for Rank Math SEO meta description if (class_exists('RankMath\Helper')) { $meta_desc = RankMath\Helper::get_post_meta('description', $post->ID); } // Fallback: Check for Yoast SEO meta description if (empty($meta_desc)) { $meta_desc = get_post_meta($post->ID, '_yoast_wpseo_metadesc', true); } // Fallback: Check for AIOSEO or custom meta if (empty($meta_desc)) { $meta_desc = get_post_meta($post->ID, '_aioseo_description', true); } // If no meta description found, use excerpt if (empty($meta_desc)) { $meta_desc = get_the_excerpt($post->ID); } // Only display if description exists if (!empty($meta_desc)) { $meta_html = '
'; // Add after title but before main content if (preg_match('/