// 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 }
President Donald Trump

TOUGH ON CANADA: Trump Talks Tariffs, Says No More 'One-Way Street' [WATCH]

posted by Hannity Staff - 2.03.25

President Donald Trump spoke to the press over the weekend about the newly-applied tariffs on Canada, Mexico, and China. Trump said America’s relationship with Canada has been a “one-way street.”

Trump stressed he loves the people of Canada but that the U.S. doesn’t get anything out of the relationship.

“Canada has been very abusive of the United States for many years. They don’t allow our banks,” Trump claimed. “And you know that Canada does not allow banks to go in, if you think about it. That’s pretty amazing. If we have a U.S. bank, they don’t allow them to go in.”

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

“Canada has been very tough for oil on energy. They don’t allow our farm products in, essentially. They don’t allow a lot of things in. And we allow everything to come in as being a one-way street.”

Trump also claimed that the U.S. subsidizes Canada “by the tune of about $200 billion a year.”

“And for what? What do we get out of it? We don’t get anything out of it,” he added. “I love the people of Canada. I disagree with the leadership of Canada and something is going to happen there.”

“They don’t take our cars, they don’t take our farm products, they take almost nothing,” Trump said. “And we take everything from them. Millions of cars, tremendous amounts of food and farm products. So the UK is way out of line and we’ll see the UK, but the European Union is really out of line.”

Canadian Prime Minister Justin Trudeau encouraged Canadians to “buy Canada” in response to the tariffs.

“Now is the time to choose products made right here in Canada,” Trudeau wrote on X. “Check the labels. Let’s do our part. Wherever we can, choose Canada.”

Trudeau also announced tariffs on U.S. goods.

Watch Trump’s comments below: