// 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: Trump’s Sanctions on Russian Energy are a Massive Step Toward Peace

posted by Hannity Staff - 10.24.25

By The New York Post Editorial Board

Bravo to Team Trump for bringing the hammer down on Russia with its most significant sanctions yet — the only way to convince Vladimir Putin that refusing to make peace is a dead end.

The sanctions, levied against Russia’s top two energy companies, Rosneft and Lukoil, show the White House is ready to start dealing out hefty punishments for Moscow’s obstinance after a call between Trump and Putin last week.

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

The Kremlin’s insistence, after that call, that Russia won’t drop impossible demands, left the prez no reason to go face-to-face with Mad Vlad in Budapest.

Crippling the energy sector is a strike at the heart of Putin’s war economy.

Upping the ante, the European Union immediately followed Trump’s lead with its own sanctions, including a ban on Russian liquefied natural gas imports — another whack at Putin’s pockets, since Europe is the No. 1 buyer of the stuff.

This is what’s needed to get peace: a coordinated, US-led pressure campaign that hits Moscow where it hurts.

Yes, Trump has cooled on sending Tomahawk missiles to Kyiv (arguing that they’re too complex to use without months of training), a decision that Kyiv thinks led Russia to back off on making concessions.

But the president’s reasoning is fair enough: He doesn’t want unintended deaths on his hands if Ukrainian soldiers misfire a weapon the US gave them.

And it’s not clear how much they’re needed; Ukraine pulled off a successful strike on a Russian chemical plant with UK-made Storm Shadow missiles on Tuesday, proving that it can hit hard without Tomahawks.

Trump denied a Wall Street Journal report Wednesday that Washington lifted restrictions on Ukraine’s use of Western-provided long-range missiles within Russia before the attack, but it hardly matters; an already paranoid Putin is left to fear how far the White House might still go.

All good, and Trump can next twist some more screws.

He can go after Putin’s other cash cow: his lapdog oligarchs, who prosper thanks to their Kremlin ties while funding Moscow’s war machine.

Many of these toadies have made money off the deaths of Ukrainians, raking in cash from ramped-up weapons manufacturing.

Wednesday’s EU sanctions package hit oligarchs hard, blocking them from accessing funding or economic resources and traveling to Europe.

The Trump team should tighten the noose on Putin’s puppets even further, broadening the US list of sanctioned individuals, seizing and freezing assets and closing loopholes so that intermediaries can’t do business on the oligarchs’ behalf.

A good start: Yelena Baturina and Vladimir Yevtushenkov, two Hunter Biden-linked Russian billionaires conspicuously left off President Joe Biden’s sanction lists.

Send a message to Putin: He and his cronies will get no quarter from the civilized world.

Make him see he has no path forward unless he gives up his grotesque fantasies of wiping Ukraine off the map.

America and its allies have to keep bringing the pain until Moscow cries “uncle.”