// 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 }
Coronavirus

NOT YET! Michigan Gov Vetoes Bill That Allows ‘High School Graduations’ to Proceed at Full Capacity

posted by Hannity Staff - 6.04.21

Michigan Governor Gretchen Whitmer continued her COVID security precautions despite cases dropping 94% since January; vetoing a Republican bill that would have allowed high school graduations to proceed at full capacity in June.

“The veto, which was expected, came two days after her administration’s order was loosened to end outdoor capacity limits and limit indoor gatherings to 50% occupancy,” reports Fox News.

“This bill is a solution in search of a problem,” the Democratic governor wrote to the GOP-ledHouse. “Rather than sending me half-baked and punchless legislation like HB 4728, I encourage the Legislature to join me in eradicating this pandemic and making transformational investments in our economy.”

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

“I would argue when you are in a time of emergency and government is making significant decisions, that is actually the time that you most need transparency to know what decisions are being made and why they are being made,” fired-back a Republican lawmaker.

Read the full report at Fox News.

NEW QUESTIONS: Whitmer Grilled Over Trip to FL in March After Placing Michigan Under Lockdown

posted by Hannity Staff - 5.17.21

Michigan Governor Gretchen Whitmer faced new questions this week surrounding her trip to Florida during Spring Break despite placing the state under strict lockdown orders to slow the spread of COVID-19.

“Whitmer has previously faced scrutiny over the March trip, which she initially lied about taking, and which came after she had cautioned Michigan residents against traveling out of state due to coronavirus concerns,” reports Fox News.

“The Detroit Free Press raised new questions for Whitmer on Monday when the outlet published a report revealing Air Eagle, LLP – the air travel company that Whitmer chartered to visit her father in Florida – was not authorized by the Federal Aviation Administration (FAA) to give charter flights,” adds Fox.

“This new bombshell that Whitmer’s plane was not authorized to fly is concerning, yet not surprising,” said Michigan Republican Party communications director Ted Goodman. “For Whitmer, it’s always been, rules for thee, but not for me.”

Read the full report at Fox News.

NOT A JOKE: Michigan’s Whitmer Offers to Buy Laid-Off Worker a Hot Dog When Asked About State Aid

posted by Hannity Staff - 6.21.20

An unhappy constituent posed a serious question to Michigan Governor Gretchen Whitmer this week; prompting the Democrat politician to deflect the conversation while offering to “buy him a hot dog.”

“I just want to know if I can ask you a question… I’m a laid-off healthcare worker. I haven’t received any of my benefits. Is there any possible way we can fix the problem here?” asked the man.

“I can check for you… Absolutely. Can I buy you a hot dog?”

Watch Whitmer’s comments above.