/** * NYASA TIMES - SEO & ARCHIVE CLEANUP * * One consolidated snippet for: * - clean category H1 headings * - AIOSEO category titles * - category meta descriptions * - clean article SEO titles */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * --------------------------------------------------------- * CATEGORY SEO CONFIGURATION * --------------------------------------------------------- */ function nyasa_times_category_seo_data() { return array( 'news' => array( 'h1' => 'Latest Malawi News', 'title' => 'Latest Malawi News | Breaking Updates & Public Interest Stories | Nyasa Times', 'desc' => 'Latest Malawi news, breaking updates, public-interest stories, community developments and national reports from Nyasa Times.', ), 'national' => array( 'h1' => 'Malawi National News', 'title' => 'Malawi National News | Latest Local & Public Affairs | Nyasa Times', 'desc' => 'Read Malawi national news, public affairs, local updates, government services and community stories from Nyasa Times.', ), 'politics' => array( 'h1' => 'Malawi Politics News', 'title' => 'Malawi Politics News | Government, Parliament & Elections | Nyasa Times', 'desc' => 'Latest Malawi politics news, elections, Parliament, government decisions, party updates, policy debate and analysis from Nyasa Times.', ), 'business' => array( 'h1' => 'Malawi Business & Economy News', 'title' => 'Malawi Business News | Economy, Banking & Markets | Nyasa Times', 'desc' => 'Read Malawi business news, economy, banking, trade, investment, energy, agriculture, jobs and market updates from Nyasa Times.', ), 'sports' => array( 'h1' => 'Malawi Sports News', 'title' => 'Malawi Sports News | Football, Netball & National Teams | Nyasa Times', 'desc' => 'Latest Malawi sports news, football, netball, athletics, clubs, national teams and Malawian athletes at home and abroad.', ), 'education' => array( 'h1' => 'Malawi Education News', 'title' => 'Malawi Education News | Schools, Universities & Exams | Nyasa Times', 'desc' => 'Malawi education news on schools, universities, exams, scholarships, teachers, students, policy updates and learning developments.', ), 'health' => array( 'h1' => 'Malawi Health News', 'title' => 'Malawi Health News | Healthcare & Public Health | Nyasa Times', 'desc' => 'Malawi health news on hospitals, public health, disease outbreaks, medicine, maternal health, children’s health and health policy.', ), 'entertainment' => array( 'h1' => 'Malawi Entertainment News', 'title' => 'Malawi Entertainment News | Music, Culture & Celebrities | Nyasa Times', 'desc' => 'Malawi entertainment news on music, culture, film, fashion, celebrities, festivals, events and creative industry updates.', ), 'columns' => array( 'h1' => 'Malawi Opinion & Analysis', 'title' => 'Malawi Opinion & Analysis | Columns & Commentary | Nyasa Times', 'desc' => 'Read Malawi opinion, columns, editorials and analysis on politics, governance, business, society, leadership and development.', ), 'religious-news' => array( 'h1' => 'Malawi Religion & Faith News', 'title' => 'Malawi Religion & Faith News | Churches & Community | Nyasa Times', 'desc' => 'Malawi religious news, church updates, faith events, Christian community stories, religious leaders and social impact coverage.', ), 'religion' => array( 'h1' => 'Malawi Religion & Faith News', 'title' => 'Malawi Religion & Faith News | Churches & Community | Nyasa Times', 'desc' => 'Malawi religious news, church updates, faith events, Christian community stories, religious leaders and social impact coverage.', ), ); } /** * --------------------------------------------------------- * CLEAN VISIBLE CATEGORY H1 * --------------------------------------------------------- * * Removes: * Category: * Category archives: * * and outputs a clean category heading. */ add_filter( 'get_the_archive_title', function ( $title, $original_title = '', $prefix = '' ) { if ( ! is_category() ) { return $title; } $term = get_queried_object(); if ( ! $term || empty( $term->slug ) ) { return $title; } $data = nyasa_times_category_seo_data(); if ( isset( $data[ $term->slug ]['h1'] ) ) { return $data[ $term->slug ]['h1']; } return single_cat_title( '', false ); }, 999, 3 ); /** * Remove archive prefixes. */ add_filter( 'get_the_archive_title_prefix', '__return_empty_string', 999 ); /** * --------------------------------------------------------- * AIOSEO SEO TITLE * --------------------------------------------------------- */ add_filter( 'aioseo_title', function ( $title ) { /** * Category SEO titles. */ if ( is_category() ) { $term = get_queried_object(); if ( $term && ! empty( $term->slug ) ) { $data = nyasa_times_category_seo_data(); if ( isset( $data[ $term->slug ]['title'] ) ) { return $data[ $term->slug ]['title']; } } } /** * News article SEO titles. * * Headline | Nyasa Times */ if ( is_singular( 'post' ) ) { return wp_strip_all_tags( get_the_title() ) . ' | Nyasa Times'; } return $title; }, 999 ); /** * --------------------------------------------------------- * AIOSEO CATEGORY META DESCRIPTIONS * --------------------------------------------------------- */ add_filter( 'aioseo_description', function ( $description ) { if ( ! is_category() ) { return $description; } $term = get_queried_object(); if ( ! $term || empty( $term->slug ) ) { return $description; } $data = nyasa_times_category_seo_data(); if ( isset( $data[ $term->slug ]['desc'] ) ) { return $data[ $term->slug ]['desc']; } return $description; }, 999 );/** * NYASA TIMES SEO + ARCHIVE FIX * */ if ( ! defined( 'ABSPATH' ) ) { exit; } /** * ------------------------------------------------------- * 1. CATEGORY CONFIGURATION * ------------------------------------------------------- */ function nyasa_category_seo_data() { return array( 'news' => array( 'h1' => 'Latest Malawi News', 'title' => 'Latest Malawi News | Breaking Updates & Public Interest Stories | Nyasa Times', 'desc' => 'Latest Malawi news, breaking updates, public-interest stories, community developments and national reports from Nyasa Times.', ), 'national' => array( 'h1' => 'Malawi National News', 'title' => 'Malawi National News | Latest Local & Public Affairs | Nyasa Times', 'desc' => 'Read Malawi national news, public affairs, local updates, government services and community stories from Nyasa Times.', ), 'politics' => array( 'h1' => 'Malawi Politics News', 'title' => 'Malawi Politics News | Government, Parliament & Elections | Nyasa Times', 'desc' => 'Latest Malawi politics news, elections, Parliament, government decisions, party updates, policy debate and analysis from Nyasa Times.', ), 'business' => array( 'h1' => 'Malawi Business & Economy News', 'title' => 'Malawi Business News | Economy, Banking & Markets | Nyasa Times', 'desc' => 'Read Malawi business news, economy, banking, trade, investment, energy, agriculture, jobs and market updates from Nyasa Times.', ), 'sports' => array( 'h1' => 'Malawi Sports News', 'title' => 'Malawi Sports News | Football, Netball & National Teams | Nyasa Times', 'desc' => 'Latest Malawi sports news, football, netball, athletics, clubs, national teams and Malawian athletes at home and abroad.', ), 'education' => array( 'h1' => 'Malawi Education News', 'title' => 'Malawi Education News | Schools, Universities & Exams | Nyasa Times', 'desc' => 'Malawi education news on schools, universities, exams, scholarships, teachers, students, policy updates and learning developments.', ), 'health' => array( 'h1' => 'Malawi Health News', 'title' => 'Malawi Health News | Healthcare & Public Health | Nyasa Times', 'desc' => 'Malawi health news on hospitals, public health, disease outbreaks, medicine, maternal health, children’s health and health policy.', ), 'entertainment' => array( 'h1' => 'Malawi Entertainment News', 'title' => 'Malawi Entertainment News | Music, Culture & Celebrities | Nyasa Times', 'desc' => 'Malawi entertainment news on music, culture, film, fashion, celebrities, festivals, events and creative industry updates.', ), 'columns' => array( 'h1' => 'Malawi Opinion & Analysis', 'title' => 'Malawi Opinion & Analysis | Columns & Commentary | Nyasa Times', 'desc' => 'Read Malawi opinion, columns, editorials and analysis on politics, governance, business, society, leadership and development.', ), 'religious-news' => array( 'h1' => 'Malawi Religion & Faith News', 'title' => 'Malawi Religion & Faith News | Churches & Community | Nyasa Times', 'desc' => 'Malawi religious news, church updates, faith events, Christian community stories, religious leaders and social impact coverage.', ), 'religion' => array( 'h1' => 'Malawi Religion & Faith News', 'title' => 'Malawi Religion & Faith News | Churches & Community | Nyasa Times', 'desc' => 'Malawi religious news, church updates, faith events, Christian community stories, religious leaders and social impact coverage.', ), ); } /** * ------------------------------------------------------- * 2. FIX VISIBLE CATEGORY H1 * ------------------------------------------------------- * * Converts: * Category archives: Latest Malawi News * * Into: * Latest Malawi News */ add_filter( 'get_the_archive_title', function ( $title, $original_title = '', $prefix = '' ) { if ( ! is_category() ) { return $title; } $term = get_queried_object(); if ( ! $term || empty( $term->slug ) ) { return $title; } $data = nyasa_category_seo_data(); if ( isset( $data[ $term->slug ]['h1'] ) ) { return esc_html( $data[ $term->slug ]['h1'] ); } return single_cat_title( '', false ); }, 999, 3 ); /** * Remove WordPress archive prefixes. */ add_filter( 'get_the_archive_title_prefix', '__return_empty_string', 999 ); /** * ------------------------------------------------------- * 3. FIX AIOSEO CATEGORY TITLES * ------------------------------------------------------- * * Prevents titles such as: * "Malawi Latest Malawi News News..." */ add_filter( 'aioseo_title', function ( $title ) { /* * Category titles */ if ( is_category() ) { $term = get_queried_object(); if ( $term && ! empty( $term->slug ) ) { $data = nyasa_category_seo_data(); if ( isset( $data[ $term->slug ]['title'] ) ) { return $data[ $term->slug ]['title']; } } } /* * Article titles * * Converts: * Article headline - Featured News Malawi | Nyasa Times * * Into: * Article headline | Nyasa Times */ if ( is_singular( 'post' ) ) { return wp_strip_all_tags( get_the_title() ) . ' | Nyasa Times'; } return $title; }, 999 ); /** * ------------------------------------------------------- * 4. FIX AIOSEO CATEGORY META DESCRIPTIONS * ------------------------------------------------------- */ add_filter( 'aioseo_description', function ( $description ) { if ( ! is_category() ) { return $description; } $term = get_queried_object(); if ( ! $term || empty( $term->slug ) ) { return $description; } $data = nyasa_category_seo_data(); if ( isset( $data[ $term->slug ]['desc'] ) ) { return $data[ $term->slug ]['desc']; } return $description; }, 999 ); /** * ------------------------------------------------------- * 5. DISPLAY CATEGORY DESCRIPTION * ------------------------------------------------------- * * Shows the short SEO introduction above the article list. */ add_action( 'loop_start', function ( $query ) { if ( is_admin() || ! is_category() || ! $query->is_main_query() ) { return; } static $nyasa_description_shown = false; if ( $nyasa_description_shown ) { return; } $term = get_queried_object(); if ( ! $term || empty( $term->slug ) ) { return; } $data = nyasa_category_seo_data(); if ( ! isset( $data[ $term->slug ]['desc'] ) ) { return; } $nyasa_description_shown = true; echo '
'; echo '

'; echo esc_html( $data[ $term->slug ]['desc'] ); echo '

'; echo '
'; }, 5 );

Malawi’s medicine time bomb: Hospitals face catastrophic drug shortage as CMST rack up $18m debt to foreign suppliers

Malawi’s public hospitals are teetering on the brink of a full-blown medicine crisis, campaigners have dramatically warned, after it emerged the country’s Central Medical Stores Trust (CMST) is failing to pay foreign suppliers a jaw-dropping $18 million debt.

Bwaila ‘Bottom’ Hospital in Lilongwe. Patients wailt for treatment in the pre-labour ward in crowded conditions. -Photo: Abbie Trayler-Smith/Oxfam

The Centre for Democracy and Economic Development Initiatives (CDEDI) has fired off an explosive letter to the Parliamentary Committee on Health, sounding the alarm over a drug shortage disaster unfolding in public health facilities across the country.

The letter, dated 22 September 2026 and addressed to Health Committee Chairperson Anthony Masamba — with copies sent to the Minister of Health, the Minister of Finance and CMST’s Executive Director — lays bare how public hospitals are struggling to get their hands on essential medicines because CMST owes its mostly Indian suppliers in excess of $18 million.

CDEDI Executive Director Sylvester Namiwa dropped the bombshell figures, revealing that Malawi needs roughly $25 million a year — around $2 million a month — just to keep drug supplies flowing.

Yet shockingly, CMST can only scrape together between $50,000 and $70,000 from commercial banks, a sum branded wildly inadequate to satisfy foreign creditors.

According to the damning letter, Malawi imports a staggering 80 percent of its drugs, with public facilities routinely ordering supplies through CMST, which then sources them from abroad.

Namiwa didn’t hold back, savaging CMST for abandoning loyal local suppliers who he says once stepped up to rescue the country during previous hard times.

“Additionally, you may wish to know that the situation has been worsened by CMST’s decision to adopt the ex-stock style of procurement and has also taken a paradigm shift that has completely abandoned local suppliers for no apparent justification,” the letter fumes.

He went further, praising the patriotism of local suppliers who, he says, moved heaven and earth to secure forex and bring in life-saving drugs — even while being paid in Malawi Kwacha.

“While they were being paid by the CMST in Malawi Kwacha, local suppliers did whatever they could to get hold of forex and bring in the much-needed drugs to save their kinsmen, driven by the patriotism spirit,” he added.

CDEDI insists that despite government pumping increased — and timely — funding into Central, General and District Hospitals, the nation is still hurtling towards a devastating stockout crisis unless urgent action is taken.

The fiery watchdog has now demanded answers over how the government is prioritising its scarce foreign currency, and what long-term fix — if any — is on the table to end the forex chaos once and for all.

“Only healthy people can contribute significantly to social and economic development; hence the saying, a healthy nation, a wealthy nation,” Namiwa declared.

CDEDI is now pleading with the Parliamentary Committee on Health to step in and summon a crisis summit before it’s too late.

“We besiege you Hon to consider invoking the powers invested in you and the entire Parliamentary Committee on Health, to call for a high-level indaba to bang heads and find a lasting solution to the looming drug shortage crisis, before it is too late,” Namiwa’s letter pleads.

The explosive warning comes as desperate Malawians who rely solely on public healthcare are reportedly being turned away empty-handed or forced to fork out for medicines at private pharmacies instead.

The Parliamentary Committee on Health has yet to respond publicly — though this publication has seen a stamped copy confirming the letter was received.

Follow and Subscribe Nyasa TV :
Follow us in Twitter