// 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 } COMEY CLAMS UP: Ex-FBI Boss Says He ‘Doesn’t Know What Barr’s Talking About’ on ‘Spying’ | Sean Hannity
Election

COMEY CLAMS UP: Ex-FBI Boss Says He ‘Doesn’t Know What Barr’s Talking About’ on ‘Spying’

posted by Hannity Staff - 4.11.19

Disgraced former FBI boss James Comey flat-out denied Thursday recent comments from Attorney General William Barr that claimed “spying did occur” against the Trump campaign during the 2016 race for the White House.

“With respect to Barr’s comments, I really don’t know what he’s talking about when he talks about spying on the campaign… When I hear that kind of language used it’s concerning,” said Comey during a speaking event.

“I don’t know what he meant by that term,” he added.

COMEY CASHES IN: Disgraced FBI Boss’s New Book OUTSELLING Clinton, Wolff

posted by Hannity Staff - 4.24.18

Former FBI director James Comey’s Trump-bashing memoir shot to the top of the best-seller list Tuesday; outperforming both Hillary Clinton’s and Michael Wolff’s total sales combined.

According to the New York Times, Comey’s tell-all book, “A Higher Loyalty: Truth, Lies, and Leadership” blasted through sales expectations after his media-hyped publicity tour; stopping by The View, The Late Show, and countless other liberal outlets.

“Mr. Comey’s publisher, Flatiron Books, has ordered multiple reprints to meet demand, and now has more than a million copies in print,” writes the Times. “The early sales figures for Mr. Comey’s book dwarfed other recent political best sellers.”

Initial sales figures have the book selling over 600,000 copies.

The former FBI director made national headlines last week after his public attacks against President Trump; calling the Commander-in-Chief a “mob boss” acting as the head of an organized crime family.

COMEY CHAOS: Giuliani Suggests ‘PROSECUTING COMEY’ if FBI Spied on Trump

posted by Hannity Staff - 5.17.18

President Trump’s newest lawyer and former New York City Mayor Rudy Giuliani didn’t hold back when commenting on recent revelations the FBI may have spied on the Trump campaign; saying if true James Comey should be “prosecuted.”

Giuliani was speaking with Fox News Thursday when he was asked to comment on new accusations the FBI had an “inside man” interacting with the Trump campaign ahead of the 2016 race for the White House.

If Comey was involved, said Giuliani, “he should be prosecuted… If there’s a spy, they got nothing from it.”

President Trump weighed-in on the revelations Thursday, saying we are “now into the second year of the greatest Witch Hunt in American history.”

“Congratulations America, we are now into the second year of the greatest Witch Hunt in American History…and there is still No Collusion and No Obstruction. The only Collusion was that done by Democrats who were unable to win an Election despite the spending of far more money!”

Thank you for visiting Hannity.com. You are about to leave
Hannity.com and proceed to a site owned and operated by a third party.
Hannity.com has no control over the content of this third-party site.
Click OK to proceed.
OK
X
You may if you would no longer like to receive a newsletter.
You have been successfully unsubscribed!
Please see our Terms of Use and Privacy Notice .
If you have any questions or concerns please contact us.
$( document ).ready(function() { show_tout_banner=0; function bannerswap(){ //console.log('checkbanners'); show_tout_banner++; if($('.mobile-tout >div ').length >1){ $('.mobile-tout').addClass('t-hide'); } if(show_tout_banner > $('.mobile-tout >div').length -1){ $('.mobile-tout:eq(0)').removeClass('t-hide'); show_tout_banner=0; } else{ $('.mobile-tout:eq('+show_tout_banner+')').removeClass('t-hide'); } //console.log('show banner '+show_tout_banner); } if($('.mobile-tout >div ').length){ bannerswap(); show_tout_banner_rotator = setInterval(bannerswap, 5000); //console.log($('.mobile-tout').length); } });