/** * 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 );

Money boxes removed from Ndata Palace

While government workers and others were busy with final preparations for the burial of former President Bingu Mutharika at his Ndata Farm, some of his relatives were also busy removing money boxes from the Mausoleum, Nyasa Times can reveal.

We can reveal that Ben Phiri, Personal Assistant to Peter Mutharika led a convoy of cars into Ndata farm premises. He was driving new a grey Kia Sportage without any number plates. He was followed by a convoy of executive two Black Toyota Prados and two White Land cruisers. All these had no number plates.

There were also two new Toyota Corollas with registration numbers ‘MDF’ without any corresponding numbers. Normally all MDF cars are registered ‘MDF’ and a number i.e. MDF 1, MDF 425.

Peter Mutharika: Keeping late Bingu's 'stuff'

Impeccable sources who were at the scene on Thursday, April 19 when the remains of the late president were being flown from Mzuzu to Blantyre said when the convoy arrived at the Mausoleum; Phiri had a brief chat with a woman dressed in black who was in the lead car with MDF registration.

Then they drove at a very fast speed to the main house and came back with a man who was riding a motorbike and had a bunch of keys.

The man with a bunch of keys proceeded to open an adjacent door to the main doors of the Mausoleum where men in black suits started taking out black boxes, suspected to have contained money including foreign currency.

“They took the boxes to the Black Prados which were parked next to the Mausoleum and everyone was surprised what was going and also the speed in which the boxes were being put in the cars,” said our source.

Then slightly after 17.45 hours, Phiri led the convoy out of the Ndata premises and headed for Blantyre and they were driving at ‘a very fast speed’.

Sources said some of the boxes were kept at Peter Mutharika’s house in Nyambadwe in Blantyre while the other boxes are at undisclosed locations but within Blantyre.

“Those boxes contained something very special that these people wanted to move and it must have been nothing but money,” said the source who admitted that he did not see the contents of the boxes.

But a worker at Ndata said the boxes contained foreign currency as well as hard Malawian currency which were being kept at the Mausoleum as selected people were allowed in the building.

Sources said the only people that they could identify were former MBC boss Bright Malopa, former Malawi Ambassador to China Charles Namondwe who is also a relative to the late president and Admarc boss Charles Matabwa, another relation of the late Mutharika.

“I am sure they were caught unawares, what if with the other bags of money that were found at the New State House, they wanted to have this moved before people started coming to the place for the funeral,” said our source.

Phiri said he could not discuss his work with Nyasa Times.

“What’s wrong with you people? You want me to discuss my work with you? Zoona?” said Phiri before cutting the line.

Namondwe blasted Nyasa Times when called for his comment on the matter accusing Nyasa Times editors  of ‘holding parties when the president died’.

“I thought you were the ones who were celebrating when our president died? I can’t talk to you about that nonsense,” said Namondwe.

Matabwa refused to comment saying they are still mourning the death of Mutharika and will only give interviews at the end of the 40 day mourning period.

He wondered where Nyasa Times got the story.

Follow and Subscribe Nyasa TV :
Follow us in Twitter