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

OBSTRUCTION OBSESSION: Debunking the Media's 'Myth’ That Interview Caught Trump ‘In Obstruction’

posted by Hannity Staff - 4.12.19

The Hill’s John Solomon thoroughly debunked the media’s newest anti-Trump ‘obstruction’ obsession this week; saying Lester Holt’s interviews with the President and James Comey show the media “can weave” one narrative for public opinion that would never “fly in the court of law.”

“For most of the past two years, many of my colleagues in the news media have pointed to a single statement in President Trump’s now infamous May 2017 interview with NBC News’s Lester Holt as the best evidence that the president intended to obstruct the Russia probe when he fired then-FBI Director James Comey,” writes Solomon.

“That soundbite was revived by TV networks after Barr announced his decision not to pursue obstruction charges two weeks ago,” he added. “In retrospect, Holt’s interviews of Trump and Comey — two years apart — provide a powerful example of how the media can weave one narrative in the court of public opinion that would never fly in a court of law.”

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

Read Solomon’s full report at The Hill.

DEVELOPING: House Judiciary Committee Opens ‘Obstruction Probe’ into Trump Administration

posted by Hannity Staff - 3.04.19

The House Judiciary Committee officially launched a probe into potential “obstruction of justice” accusations against the Trump administration Monday; seeking material and documents from over 60 individuals connected with the White House.

“The House Judiciary Committee will seek documents from more than 60 people and organizations as it begins investigations into possible obstruction of justice and abuse of power by President Donald Trump,” reports Reuters.

“We are going to initiate investigations into abuses of power, into corruption … and into obstruction of justice,” said Democratic chairman Rep. Jerrold Nadler. “It’s our job to protect the rule of law.”

“It’s very clear that the president obstructed justice,” Nadler added. “Before you impeach somebody, you have to persuade the American public that it ought to happen.”

“They’re setting a whole new course because there’s no collusion so they want to build something else,” said GOP Rep. Kevin McCarthy.

Read the full report at Reuters.

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!”