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

POST OP-ED: Dems Smearing Trump as ‘Authoritarian’ Were Oddly Quiet Over Joe Biden’s Strongarm Diktats

posted by Hannity Staff - 6.11.25

By The New York Post Editorial Board

The left’s attempts to brand President Donald Trump’s deportations and his response to the Los Angeles riots as “authoritarian” would be downright comical — if they weren’t so dangerous.

Trump’s actions are “purely authoritarian,” insists Sen. Jeff Merkley (D-Ore.). Boston Mayor Michelle Wu decries the “secret police tactics,” while ex-Veep Kamala Harris claims that deploying the National Guard is all about “stoking fear.”

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

The Intercept’s Natasha Lennard warns of a “full-on authoritarian takeover of the U.S. government.”

Please.

No such charges flew when President Joe Biden illegally ordered the private sector to make all its workers get vaxxed during COVID.

Or when he openly defied the Supreme Court to extend the federal eviction moratorium.

Nor when Team Biden was caught using strong-arm tactics to censor speech it didn’t like.

Progressives saw no fascism in prosecutors using the courts to try to bankrupt and jail Trump as he ran for reelection.

Or when Democrats sought to remove his name removed from ballots.

Radio silence prevailed, too, when the Biden Justice Department sent FBI agents to raid Mar-a-Lago, Trump’s personal residence.

And when the Bureau targeted traditional Catholics and parents who opposed DEI and trans policies in their schools.

Now Trump is doing exactly what he said he’d do — i.e., deporting illegal immigrants and enforcing the law — and the left screams “authoritarian!”

Please.

Progs hate our immigration laws but lack the votes to change them, and so detest Trump’s moves to enforce them — and sympathize with the rioters trying to interfere with that enforcement.

So when the president sticks to his course, they smear him as dictatorial.

They’ve chosen to stand up for the illegal-immigrant rapists, murderers and gangbangers ICE agents are trying to deport, claiming the arrests create “fear” in their neighborhoods.

Sorry, but it’s the gangsters, killers and sex offenders who create fear, and most Americans are glad to see Trump get them out their nabes.

An RMG Research poll late last month found voters back Trump’s immigration policies by a 56%-to-42% margin.

An Economist/YouGov study through Thursday had Trump up 51-47.

Confusing their left-wing base for the American center, Democrats — from Wu to LA Mayor Karen Bass and California Gov. Gavin Newsom — are attacking Trump for taking an approach voters support.

As so their words embolden rioters and fuel violence, infuriating average Americans . . . and handing Trump and the GOP a political gift.

They’re only further deepening the nation’s divides while digging themselves into deeper holes.