// SEO: Disable user sitemap (exposes editor usernames to scrapers) add_filter('wp_sitemaps_add_provider', function($provider, $name) { if ($name === 'users') return false; return $provider; }, 10, 2); // SEO: Remove post_tag archives from XML sitemap (thin/low-value pages) add_filter('wp_sitemaps_taxonomies', function($taxonomies) { unset($taxonomies['post_tag']); return $taxonomies; }); // SEO: Auto-generate SEO title on publish via Gemini API (2026-03-25) add_action('transition_post_status', 'hannity_auto_seo_title', 10, 3); function hannity_auto_seo_title($new_status, $old_status, $post) { // Only fire when transitioning TO publish for the first time if ($new_status !== 'publish' || $post->post_type !== 'post') return; if ($old_status === 'publish') return; // skip re-saves of already-published posts // Skip if seo_title already set if (get_post_meta($post->ID, 'seo_title', true)) return; $title = $post->post_title; if (empty($title)) return; $prompt = 'Convert this news headline to a clean SEO title tag (50-65 chars max). ' . 'Remove ALL CAPS prefixes like BREAKING: BUSTED: WATCH: BOMBSHELL: etc. ' . 'Remove [WATCH] [VIDEO] suffixes. Factual, keyword-rich, no spin. ' . 'Return ONLY the SEO title as a plain string, no quotes, no explanation.' . "\n\nHeadline: " . $title; $api_key = 'AIzaSyB-D7nxEi4UzLdoKIZBAY_ydYS5JT8EBCU'; $url = 'https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent?key=' . $api_key; $response = wp_remote_post($url, array( 'headers' => array('Content-Type' => 'application/json'), 'body' => json_encode(array( 'contents' => array(array('parts' => array(array('text' => $prompt)))), 'generationConfig' => array('temperature' => 0.2, 'maxOutputTokens' => 100), )), 'timeout' => 10, )); if (is_wp_error($response)) return; $data = json_decode(wp_remote_retrieve_body($response), true); $seo_title = trim($data['candidates'][0]['content']['parts'][0]['text'] ?? ''); if (empty($seo_title)) return; $seo_title = trim($seo_title, '"\''); // strip any surrounding quotes Gemini adds update_post_meta($post->ID, 'seo_title', $seo_title); update_post_meta($post->ID, '_seo_title', 'field_56425125fb2ed'); // ACF field key ref }
Metro

HOCHUL HOLDS OUT? NY Gov Hints She May Not Endorse Mamdani: 'Many Differences' [WATCH]

posted by Hannity Staff - 8.11.25

Gov. Kathy Hochul appeared to snub mayoral hopeful Zohran Mamdani in a live TV interview Sunday, signaling she may not endorse him despite his praise of her “courage.”

“We still have many differences,” Hochul said during a Fox News Sunday appearance. “I don’t know how you whitewash that away.”

Host Shannon Bream had read a statement from Mamdani lauding Hochul for clashing with President Trump and Republicans over redistricting battles that could determine control of Congress.

Breaking Alerts
Don't miss the stories that matter.
Get Sean's breaking news alerts — free, direct to your inbox.
Sign Up

“We still have many differences. I don’t know how you whitewash that away,” Hochul said. “He can agree with me, and many people agree with, and I think it’s not just Democrats who say New Yorkers stand up for our rights. We do that. It’s what we’re hardwired to do. We’re fighters. I’m a mom from Buffalo. I guess they’re not used to taking on a mom from Buffalo, perhaps.”

“There’s many areas of disagreement, but also there’s areas of alignment, including affordability,” she said. “His election touched a nerve. And people said, you know what, we’re just not getting ahead. And the Trump policies that were promised to lift people up, reduce costs, not touch Medicaid, make sure that tariffs create jobs, none of that happened. So there is this sense of we need some change now.”

“I will make it work out because I’m not going to go to war with the 8 million residents of New York that I also represent, so my job is to calm things down,” Hochul said. “Let’s see what the election results are, but people have to recognize that candidate for mayor has also touched a nerve and we need to be responsive to that. So I’m aligned with him that we need to start finding ways to make life more affordable for New Yorkers.”

Watch the clip below:

This story is developing…

More over at The New York Post: