// 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 }
North Korea

COMING TO AMERICA? Trump Hints at Possible WHITE HOUSE Invite for KIM

posted by Hannity Staff - 6.07.18

President Trump said Thursday that he would be willing to invite North Korean leader Kim Jong Un to the White House should next week’s summit “go well,” raising the possibility the communist ruler could potentially visit the United States.

The President was speaking alongside Japanese Prime Minister Shinzo Abe when he was asked whether he would potentially invite Kim to Washington should the historic summit prove successful.

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

“If the summit does go well, will you be inviting North Korean leader Kim Jong Un to the United States?” asked one reporter.

“The answer is yes… Certainly if it goes well. I think it will be well received and I think he’d look at it very favorably,” said the President.

Read the full story at Fox News.

SUMMIT SAVED? Jim Mattis ‘VERY OPTIMISTIC’ Korean Summit Will Take Place

posted by Hannity Staff - 5.25.18

Secretary of Defense Jim Mattis offered new hope over the fate of the President’s scheduled summit with Kim Jong Un Friday, saying he was “very optimistic” that the North Koreans would return to the negotiating table.

“We have got some, possibly some good news on the Korea summit, where it may, if our diplomats can pull it off, may have it back on even,” Mattis told reporters.

“The diplomats are still at work on the summit, possibility of a summit, so that is very good news,” he added. “I am optimistic that the diplomats are working, our diplomats are working very hard to make this happen.”

The Pentagon chief’s comments echo similar remarks made by the President Friday morning; thanking the communist leader’s “warm” words after Trump canceled the high-stakes meeting.

The Commander-in-Chief scuttled the summit just days after the Hermit Kingdom slammed senior administration officials -particularly Vice President Mike Pence- as “political dummies.”

h/t Washington Examiner

SUMMIT SAVED? North Korean Officials in NYC Ahead of Summit

posted by Hannity Staff - 5.29.18

A senior North Korean official departed for the United States over the Memorial Day weekend with the hopes of reviving the June 12th summit between Kim Jong Un and President Trump; sparking new speculation that the high-stakes meeting is back on schedule.

“Kim Yong Chol, Pyongyang’s longtime spy chief and a vice chairman of the ruling Workers’ Party, was spotted at Beijing Capital International Airport, where he boarded a flight to New York after first meeting with Chinese officials. As the Hermit Kingdom’s black operations chief, Kim has had a bloody hand in some of the rogue nation’s most notorious attacks on South Korea and even U.S. cyber targets,” writes Fox News.

The President welcomed Kim’s aide early Tuesday morning, saying “We have put a great team together for our talks with North Korea. Meetings are currently taking place concerning Summit, and more. Kim Young Chol, the Vice Chairman of North Korea, heading now to New York. Solid response to my letter, thank you!”

The potential summit was thrown in doubt last week when President Trump abruptly canceled the event; saying Kim’s “outright hostility” prompted his administration to withdraw from the meeting.