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

Chilima encourages Malawians to face 2019 with hope: ‘Time to change and fix our challenges’

Vice-President Saulos Chilima has said with the May 21 2019 Tripartite Elections drawing closer, Malawians should approach 2019 with an open mind as they prepare to vote in the watershed elections.

Chilima:It is time to change and fix our challenges

Chilima, speaking through his special adviser on economic affairs Milward Tobias, further encourages Malawians to face 2019 with hope and confidence that through the ballot, “it is time to change and fix our challenges.”

Reads a statement from the Office of the Vice-President: “We cannot continue with the laissez faire or business as usual approach to governance and expect meaningful development.”

The Vice-President parted ways with Mutharika as he dumped the ruling Democratic Progressive Party (DPP) in June and was last week elected unopposed as presidential candidate for the new political party UTM.

Speaker of Parliament Richard Msowoya, who is a;so a member of Chilima’s UTM party,

urged people to tread carefully and vote wisely in elections.

He said: “Think carefully as we move towards elections next year. Watch out for wolves in sheep skins, those that disguise themselves as statesmen. Remember, voting happens in a day, but suffering and frustrations can be a long five years.”

Malawi will hold elections for president, members of parliament and local government councillors on May 21 2019.

Follow and Subscribe Nyasa TV :
Follow us in Twitter

11 replies on “Chilima encourages Malawians to face 2019 with hope: ‘Time to change and fix our challenges’”

  1. The Holy Bible is very clear according to the gospel of Matthew in chapter 6 that when you help ovutika you should NOT publicize, izi nzongofuna kupusitsa ma voters, why did SKC not visit any sick person the past 4 Christmases? He was VP and could have spared both money and time

  2. NZOTHEKA! A New Dawn is in the horizon, we are sick and tired of being sick and tired, change can’t come soon enough, Malawi needs a reset button, we need a new direction, we can’t go on like this,

  3. Pathfinder ndi chitsiru zako Pyuta mwachedwatu lero kuchita comment zopoira. Nchacha sanakutumizire yabooka? SKC bomaaa!

    1. KKKKKKK aise Finye mpakana kukwiya chifukwa suukuona ma comment anga? Ayi ada ndili busy kumvetsa banja langa kukoma mnyengo ino komanso kukonzekela budget yapabanja ya chakachamawa kuti ndisadzatukwane boma ngati ena a ulesinu. Ada inetu mfundo za chilima sizimandimaliza chifuka ndizokopela either ku cabinet olo ku MCP.

    2. If you use vulgar language here, all it shows is the depth of your shallow thinking, kutha ma plan, and how you cannot decide for Malawians.

    1. Mwachepanazo izi . mukadalira kubera mwapoyira chifukwa kungogwidwa ndi kumakako Ku Zomba basis Game gathers pompo

Comments are closed.