Index of /ALFA_DATA/cgialfa/709809683

 NameLast modifiedSizeDescription

 Parent Directory   -  
 849400269.txt 2026-07-10 00:33 27K 

<?php
/**
 * Additional PA live content updates requested on 2026-07-09.
 *
 * Run with: wp eval-file scripts/codex-pa-content-20260709-more.php
 */

if (!defined('ABSPATH')) {
	exit;
}

function pa_more_log($message) {
	if (class_exists('WP_CLI')) {
		WP_CLI::log($message);
	}
}

function pa_more_elementor_wrapper($html, $id_prefix) {
	return array(
		array(
			'id' => $id_prefix . 's',
			'elType' => 'section',
			'settings' => array(
				'layout' => 'boxed',
				'items_parallax' => array(),
				'css_classes' => 'pa-el-section pa-el-rich pa-el-source-page',
			),
			'elements' => array(
				array(
					'id' => $id_prefix . 'c',
					'elType' => 'column',
					'settings' => array('_column_size' => 100),
					'elements' => array(
						array(
							'id' => $id_prefix . 'w',
							'elType' => 'widget',
							'settings' => array(
								'editor' => $html,
								'_css_classes' => 'pa-el-rich-source',
							),
							'elements' => array(),
							'widgetType' => 'text-editor',
						),
					),
					'isInner' => false,
				),
			),
			'isInner' => false,
		),
	);
}

function pa_more_update_single_editor_page($post_id, $html, $id_prefix, $title = null, $slug = null) {
	$args = array(
		'ID' => $post_id,
		'post_content' => $html,
	);

	if ($title) {
		$args['post_title'] = $title;
	}

	if ($slug) {
		$args['post_name'] = $slug;
	}

	wp_update_post($args);
	update_post_meta($post_id, '_elementor_data', wp_slash(wp_json_encode(pa_more_elementor_wrapper($html, $id_prefix))));
	update_post_meta($post_id, '_elementor_edit_mode', 'builder');
	update_post_meta($post_id, '_elementor_template_type', 'wp-page');
	clean_post_cache($post_id);
	pa_more_log("Updated page {$post_id}");
}

function pa_more_replace_strings_in_elementor($post_id, array $replacements) {
	$content = get_post_field('post_content', $post_id);
	if (is_string($content) && $content !== '') {
		wp_update_post(array(
			'ID' => $post_id,
			'post_content' => strtr($content, $replacements),
		));
	}

	$raw = get_post_meta($post_id, '_elementor_data', true);
	if (!is_string($raw) || $raw === '') {
		return;
	}

	$data = json_decode($raw, true);
	if (!is_array($data)) {
		return;
	}

	$walker = function (&$value) use (&$walker, $replacements) {
		if (is_array($value)) {
			foreach ($value as &$child) {
				$walker($child);
			}
			unset($child);
			return;
		}

		if (is_string($value)) {
			$value = strtr($value, $replacements);
		}
	};

	$walker($data);
	update_post_meta($post_id, '_elementor_data', wp_slash(wp_json_encode($data)));
	clean_post_cache($post_id);
	pa_more_log("Updated Elementor strings on page {$post_id}");
}

function pa_more_update_elementor_image_by_class($post_id, $class_name, $attachment_id) {
	$url = wp_get_attachment_url($attachment_id);
	if (!$url) {
		return;
	}

	$raw = get_post_meta($post_id, '_elementor_data', true);
	$data = json_decode($raw, true);
	if (!is_array($data)) {
		return;
	}

	$walker = function (&$node) use (&$walker, $class_name, $attachment_id, $url) {
		if (!is_array($node)) {
			return;
		}

		$classes = $node['settings']['_css_classes'] ?? $node['settings']['css_classes'] ?? '';
		if (($node['widgetType'] ?? '') === 'image' && is_string($classes) && strpos($classes, $class_name) !== false) {
			$node['settings']['image'] = array(
				'id' => $attachment_id,
				'url' => $url,
			);
		}

		foreach ($node as &$child) {
			$walker($child);
		}
		unset($child);
	};

	$walker($data);
	update_post_meta($post_id, '_elementor_data', wp_slash(wp_json_encode($data)));
	clean_post_cache($post_id);
	pa_more_log("Updated {$class_name} image on page {$post_id}");
}

function pa_more_update_download_doc_title($old_like, $new_title) {
	global $wpdb;
	$ids = $wpdb->get_col($wpdb->prepare(
		"SELECT ID FROM {$wpdb->posts} WHERE post_title LIKE %s AND post_type IN ('attachment','dlp_document','document')",
		'%' . $wpdb->esc_like($old_like) . '%'
	));

	foreach ($ids as $id) {
		wp_update_post(array('ID' => (int) $id, 'post_title' => $new_title));
	}
}

// Board profile photos.
set_post_thumbnail(2752, 3543);
set_post_thumbnail(2754, 3544);
pa_more_log('Mapped board photos for CPA David J. O. Nyakang\'o and Mr. Kennedy Ondieki');

// Menu and page titles.
wp_update_post(array('ID' => 2274, 'post_title' => 'The Privatization Story', 'post_name' => 'privatization-story'));
wp_update_post(array('ID' => 2202, 'post_title' => 'The Privatization Story'));
wp_update_post(array('ID' => 2205, 'post_title' => 'The History of Privatization in Kenya'));

// Replace Public Enterprises Reform tab/page with history content already approved on the main story page.
$history_html = get_post_field('post_content', 2274);
$history_elementor = get_post_meta(2274, '_elementor_data', true);
wp_update_post(array(
	'ID' => 2277,
	'post_title' => 'The History of Privatization in Kenya',
	'post_name' => 'history-of-privatization-in-kenya',
	'post_content' => $history_html,
));
if ($history_elementor) {
	update_post_meta(2277, '_elementor_data', wp_slash($history_elementor));
	update_post_meta(2277, '_elementor_edit_mode', 'builder');
	update_post_meta(2277, '_elementor_template_type', 'wp-page');
}
clean_post_cache(2277);
pa_more_log('Renamed Public Enterprises Reform and replaced its content with the history page');

// Service Charter title harmonization.
pa_more_replace_strings_in_elementor(2271, array(
	'Swahili Service Charter' => 'Kiswahili Service Charter',
	'https://drive.google.com/file/d/1DAFcaTj-stsAMYSB3VYVJ7k1PNa4BxUr/view?usp=drive_link' => home_url('/wp-content/uploads/2026/07/citizens-service-delivery-charter.mp4'),
	home_url('/wp-content/uploads/2026/05/service-charter-english-version.pdf') => home_url('/wp-content/uploads/2026/06/English-Service-Charter-20.06.2026.docx.pdf'),
	home_url('/wp-content/uploads/2026/05/service-charter-swahili-version.pdf') => home_url('/wp-content/uploads/2026/06/Kiswahili-Service-Charter-20.06.2026.doc.pdf'),
));
pa_more_update_download_doc_title('Service Charter - English', 'Service Charter - English Version');
pa_more_update_download_doc_title('Service Charter - Kiswahili', 'Service Charter - Kiswahili Version');
pa_more_update_download_doc_title('Service Charter - Swahili', 'Service Charter - Kiswahili Version');

// Quality Policy Statement.
$quality_pdf = home_url('/wp-content/uploads/2026/06/Quality-Policy-Statement_2026-1.pdf');
$quality_html = <<<HTML
<div class="pa-child-page pa-who-subpage pa-who-quality-policy">
	<section class="pa-child-hero" aria-label="Quality policy overview">
		<div class="pa-child-shell pa-child-hero-grid">
			<div class="pa-child-copy">
				<p class="pa-child-kicker">Quality Commitment</p>
				<h2>A policy for consistent, accountable service delivery.</h2>
				<p>The Privatization Authority is committed to implement the Privatization Programme in a transparent, collaborative and competitive manner to achieve the desired national objective and shall endeavour to meet the needs and expectations of all its stakeholders.</p>
				<p>The quality policy statement records the Authority's commitment to consistent, accountable, transparent, and service-focused delivery.</p>
				<div class="pa-child-actions"><a class="pa-child-button pa-child-button--primary" href="#quality-policy-downloads">Downloads</a><a class="pa-child-button" href="{$quality_pdf}">Open PDF</a></div>
			</div>
			<div class="pa-child-media-stack" aria-hidden="true">
				<figure class="pa-child-media-main"><img src="/wp-content/uploads/pa-provided/pa-team-office-group.jpeg" alt="" /></figure>
				<figure class="pa-child-media-card"><img src="/wp-content/uploads/2026/05/pa-unsplash-paper-documents.jpg" alt="" /></figure>
				<div class="pa-child-media-note"><strong>QA</strong><span>Documented standards for service consistency.</span></div>
			</div>
		</div>
	</section>
	<section id="quality-policy-downloads" class="pa-child-section pa-child-soft" aria-label="Quality policy downloads">
		<div class="pa-child-shell pa-child-table-panel"><h2>Policy Download</h2><p>[doc_library doc_category="quality-policy" columns="title,content,link" link_style="button" link_icon="true" link_text="Download" docs_per_page="25" sort_by="title" sort_order="asc"]</p></div>
	</section>
	<section class="pa-child-section" aria-label="Quality policy preview">
		<div class="pa-child-shell pa-child-split"><div class="pa-child-copy"><p class="pa-child-kicker">Preview</p><h2>Quality Policy Statement</h2><p>Use the embedded preview for quick reference or download the official policy from the table above.</p></div><div class="pa-child-doc-frame">[pdf-embedder url="{$quality_pdf}" width="max" height="720"]</div></div>
	</section>
</div>
HTML;
pa_more_update_single_editor_page(2273, $quality_html, 'pa2273q', 'Quality Policy Statement');

// Legal Framework cards and downloads.
$legal_html = <<<HTML
<div class="pa-block-page pa-priv-page pa-legal-repository-page">
	<div class="pa-section pa-priv-intro">
		<div class="pa-priv-intro-layout">
			<div>
				<p class="pa-section-kicker">Legal Repository</p>
				<h2>Privatization Legal Frameworks</h2>
				<p>A consolidated repository for privatization laws, gazette notices, public participation records and court decisions relevant to the Authority's mandate.</p>
				<p>The legal framework has evolved from the pre-2005 reform environment, through the Privatization Act, 2005, the 2023 transition, and the current Privatization Act, 2025.</p>
			</div>
			<div><div class="pa-priv-image"><span aria-hidden="true" class="has-background-dim-25 has-background-dim"></span><img alt="Legal framework documents" src="/wp-content/uploads/2026/05/pa-unsplash-paper-documents.jpg"></div></div>
		</div>
	</div>
	<div class="pa-section">
		<h2>Repository Sections</h2>
		<div class="pa-feature-grid pa-document-grid">
			<div class="pa-feature-card"><h3>The Privatization Act, 2025</h3><p>The parent law that guides the country's Privatization Programme.</p><div class="pa-text-link"><a class="wp-element-button" href="/wp-content/uploads/2026/06/Privatization-Act2025.pdf" target="_blank" rel="noopener">Download Act 2025</a></div></div>
			<div class="pa-feature-card"><h3>The Constitution of Kenya, 2010</h3><p>The supreme law of the land that guarantees public participation, access to information, and lawful administrative action.</p></div>
			<div class="pa-feature-card"><h3>Official Gazette Notices</h3><p>Gazette notices for current privatization programmes, legal notices and finalized transaction notices.</p><div class="pa-text-link"><a class="wp-element-button" href="/wp-content/uploads/2026/05/notice-proposed-privatization-kpc-limited.pdf" target="_blank" rel="noopener">Download Current Programme Notice</a></div></div>
			<div class="pa-feature-card"><h3>Judgments</h3><p>Court decisions and judgments concerning the Authority's mandate and privatization processes.</p></div>
			<div class="pa-feature-card"><h3>Public Participation Records</h3><p>Notices, memoranda windows, stakeholder submissions and engagement records linked to privatization policy and programmes.</p></div>
		</div>
	</div>
	<div class="pa-section">
		<h2>KPC Gazette and Public Notices</h2>
		<div class="pa-feature-grid pa-numbered-cards">
			<div class="pa-feature-card pa-legal-session-paper"><h3>Sessional Paper on Privatization of Kenya Pipeline Company (KPC) through an Initial Public Offer (IPO) on the Nairobi Securities Exchange (NSE)</h3><p>Sessional Paper supporting the privatization of Kenya Pipeline Company through an Initial Public Offer on the Nairobi Securities Exchange.</p><div class="pa-text-link"><a class="wp-element-button" href="/wp-content/uploads/2026/06/sessional-paper-kpc-ipo-nse.pdf" target="_blank" rel="noopener">Download</a></div></div>
			<div class="pa-feature-card"><h3>Gazette Notice No. 5804</h3><p>Notice issued under Section 53 of the Privatization Act, 2025 confirming that the privatization of Kenya Pipeline Company Limited had been finalized.</p><div class="pa-text-link"><a class="wp-element-button" href="/wp-content/uploads/2026/07/gazette-vol-72-special-issue-kpc-2026.pdf" target="_blank" rel="noopener">Download Gazette Notice</a></div></div>
			<div class="pa-feature-card"><h3>Legal Notice No. 72</h3><p>Notice dated April 22, 2026 revoking the declaration of Kenya Pipeline Company as a National Government Entity under Legal Notice No. 33 of 2015.</p><div class="pa-text-link"><a class="wp-element-button" href="/wp-content/uploads/2026/07/revocation-of-kplc-as-a-national-government-entity.pdf" target="_blank" rel="noopener">Download Legal Notice</a></div></div>
			<div class="pa-feature-card"><h3>Notice of Proposed Privatization of KPC Limited</h3><p>Published notice on the proposed privatization of Kenya Pipeline Company Limited.</p><div class="pa-text-link"><a class="wp-element-button" href="/wp-content/uploads/2026/05/notice-proposed-privatization-kpc-limited.pdf" target="_blank" rel="noopener">Download</a></div></div>
		</div>
	</div>
	<div class="pa-section pa-document-library-panel">
		<h2>Legal Framework Documents</h2>
		<p>Published legal documents are maintained in the document library for search, sorting and download.</p>
		[doc_library doc_category="legal-framework" columns="title,content,link" link_style="button" link_icon="true" link_text="Download" docs_per_page="25" sort_by="date" sort_order="desc"]
	</div>
</div>
HTML;
pa_more_update_single_editor_page(2279, $legal_html, 'pa2279l', 'Legal Framework');

// Success Stories: remove the extra subheading copy.
$success_html = <<<HTML
<style>
.pa-update-page{--pa-green:#00a85a;--pa-green-dark:#073f2c;--pa-red:#e42130;--pa-ink:#17211d;--pa-muted:#64706b;--pa-soft:#f4f8f5;--pa-line:#dfe8e3;font-family:inherit;color:var(--pa-ink)}
.pa-update-page *{box-sizing:border-box}
.pa-update-hero{padding:62px 0 38px;border-bottom:1px solid var(--pa-line)}
.pa-kicker{margin:0 0 10px;color:var(--pa-green);font-size:13px;font-weight:800;letter-spacing:0;text-transform:uppercase}
.pa-update-page h1,.pa-update-page h2,.pa-update-page h3{margin:0;color:var(--pa-ink);letter-spacing:0}
.pa-update-page h1{font-size:42px;line-height:1.12;font-weight:900}
.pa-update-page h3{font-size:20px;line-height:1.24;font-weight:850}
.pa-lead{max-width:820px;margin:16px 0 0;color:var(--pa-muted);font-size:17px;line-height:1.75}
.pa-band{padding:46px 0;border-bottom:1px solid var(--pa-line)}
.pa-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.pa-card{position:relative;min-height:150px;padding:24px;border:1px solid var(--pa-line);border-radius:8px;background:#fff;box-shadow:0 14px 32px rgba(22,45,34,.07)}
.pa-card:before{content:"";position:absolute;top:0;left:24px;right:24px;height:3px;background:var(--pa-green)}
.pa-card p{margin:10px 0 0;color:var(--pa-muted);font-size:15px;line-height:1.65}
.pa-badge{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;background:#eaf7ef;color:var(--pa-green-dark);font-size:12px;font-weight:800;text-transform:uppercase}
.pa-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px}
.pa-button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:0 18px;border-radius:999px;background:var(--pa-green);color:#fff!important;font-size:13px;font-weight:850;text-decoration:none;text-transform:uppercase}
.pa-button.secondary{border:1px solid var(--pa-line);background:#fff;color:var(--pa-ink)!important}
@media(max-width:900px){.pa-grid{grid-template-columns:1fr}.pa-update-page h1{font-size:32px}}
</style><div class="pa-update-page pa-success-page">
  <section class="pa-update-hero">
    <p class="pa-kicker">Privatization Outcomes</p>
    <h1>Success Stories</h1>
    <p class="pa-lead">Selected transactions show how privatization can widen ownership, strengthen governance, unlock market participation and improve operational performance across strategic sectors.</p>
  </section>
  <section class="pa-band">
    <div class="pa-grid">
      <article class="pa-card"><span class="pa-badge">2026</span><h3>Kenya Pipeline Company IPO</h3><p>The first e-traded IPO in Kenya and East Africa's largest IPO drew 12.49 billion share applications against 1.8 billion shares on offer.</p><div class="pa-actions"><a class="pa-button" href="/kenya-pipeline-company-ipo/">Read Story</a></div></article>
      <article class="pa-card"><span class="pa-badge">Consumer goods</span><h3>Kenya Wine Agencies Limited (KWAL)</h3><p>A turning point that improved decision-making, employee participation, output and bottom-line performance after privatization.</p><div class="pa-actions"><a class="pa-button secondary" href="/kenya-wine-agencies-limited/">Read Story</a></div></article>
      <article class="pa-card"><span class="pa-badge">Telecommunications</span><h3>Safaricom</h3><p>A flagship public offer story involving strategic participation and a later Nairobi Securities Exchange public offer.</p><div class="pa-actions"><a class="pa-button secondary" href="/safaricom/">Read Story</a></div></article>
      <article class="pa-card"><span class="pa-badge">Banking</span><h3>Kenya Commercial Bank</h3><p>A market transaction story from the 1988 IPO through later reductions in Government shareholding.</p><div class="pa-actions"><a class="pa-button secondary" href="/kenya-commercial-bank/">Read Story</a></div></article>
      <article class="pa-card"><span class="pa-badge">Insurance</span><h3>Kenya Reinsurance Corporation</h3><p>The Government sold a 40 percent stake through an IPO while retaining majority shareholding.</p><div class="pa-actions"><a class="pa-button secondary" href="/kenya-reinsurance-corporation/">Read Story</a></div></article>
      <article class="pa-card"><span class="pa-badge">Archive</span><h3>Completed Transactions</h3><p>A consolidated record of major completed transactions and 1992 - 2002 receiverships.</p><div class="pa-actions"><a class="pa-button secondary" href="/completed-transactions/">View Archive</a></div></article>
    </div>
  </section>
</div>
HTML;
pa_more_update_single_editor_page(2276, $success_html, 'pa2276s', 'Success Stories');

// Completed Transactions order.
$completed_html = <<<HTML
<div class="pa-block-page pa-priv-page pa-table-first-page">
  <div class="pa-section pa-priv-intro"><div class="pa-priv-intro-layout pa-text-only-intro"><div><p class="pa-section-kicker">Privatization Programme</p><h2>Completed Transactions</h2><p>Major completed privatization transactions and receiverships from the public record.</p></div></div></div>
  <div class="pa-section"><h2>Major Transactions</h2><figure class="pa-table"><table><thead><tr><th>#</th><th>Company</th><th>Year</th><th>Method</th><th>Public Share Before (%)</th><th>Public Share After (%)</th><th>Sector</th></tr></thead><tbody><tr><td>1</td><td>Kenya Pipeline Company PLC</td><td>2026</td><td>IPO</td><td>100</td><td>35</td><td>Energy infrastructure</td></tr><tr><td>2</td><td>Safaricom PLC</td><td>2008</td><td>IPO</td><td>60</td><td>35</td><td>Telecommunication</td></tr><tr><td>3</td><td>Telkom Kenya</td><td>2007</td><td>Strategic Sale</td><td>100</td><td>49</td><td>Telecommunication</td></tr><tr><td>4</td><td>Kenya Reinsurance Corporation PLC</td><td>2007</td><td>IPO</td><td>100</td><td>60</td><td>Insurance</td></tr><tr><td>5</td><td>Mumias Sugar Company PLC</td><td>2006</td><td>IPO</td><td>38.4</td><td>20</td><td>Manufacturing</td></tr><tr><td>6</td><td>Kenya Railways Corporation</td><td>2006</td><td>Concessioning</td><td>100</td><td>100</td><td>Transport</td></tr><tr><td>7</td><td>KenGen</td><td>2006</td><td>IPO</td><td>100</td><td>70</td><td>Energy</td></tr></tbody></table></figure></div>
  <details class="pa-section pa-wide-details"><summary>1992 - 2002 Receiverships</summary><figure class="pa-table"><table><thead><tr><th>#</th><th>Company</th><th>Year</th><th>Public Share Before (%)</th><th>Public Share After (%)</th><th>Sector</th><th>Buyer</th><th>Proceeds (Kshs)</th></tr></thead><tbody><tr><td>1</td><td>Nairobi Oil Products Ltd</td><td>1992</td><td>29</td><td>0</td><td>Oil Recycling</td><td>Various Individuals</td><td>8,750,000</td></tr><tr><td>2</td><td>Tiger Shoes Ltd</td><td>1993</td><td>16.7</td><td>0</td><td>Leather</td><td>Lento Agencies Ltd</td><td>9,000,000</td></tr><tr><td>3</td><td>Yuken Textiles Ltd</td><td>1993</td><td>100</td><td>0</td><td>Textile</td><td>Yuken Mills Ltd</td><td>14,000,000</td></tr><tr><td>4</td><td>Sirikwa Hotel Ltd</td><td>1993</td><td>21</td><td>0</td><td>Tourism</td><td>Akamba Invest. Ltd</td><td>70,000,000</td></tr><tr><td>5</td><td>Kenya Drilling Co. Ltd</td><td>1993</td><td>100</td><td>0</td><td>Services</td><td>Kentco Taxis Ltd</td><td>21,700,000</td></tr><tr><td>6</td><td>Kisumu Cotton Mills Ltd</td><td>1993</td><td>80</td><td>0</td><td>Textiles</td><td>Caneland Ltd</td><td>174,961,000</td></tr><tr><td>7</td><td>Seracoating Kenya Ltd</td><td>1994</td><td>34</td><td>0</td><td>Plastic</td><td>Local shareholders</td><td>82,000,000</td></tr></tbody></table></figure></details>
</div>
HTML;
pa_more_update_single_editor_page(2278, $completed_html, 'pa2278t', 'Completed Transactions');

// Benefits and Programme Status copy updates.
pa_more_replace_strings_in_elementor(2280, array(
	'<p>Privatization is presented as a public value programme: better services, stronger markets, wider ownership and reduced pressure on government resources.</p>' => '<p>Privatization creates long-term value by improving public service delivery, attracting investment and innovation, broadening ownership through capital markets, and strengthening the competitiveness of state-owned enterprises.</p>',
	'<p>The core benefits are organized around practical outcomes for citizens, markets, public finance and broader participation in the Kenyan economy.</p>' => '<p>Benefits are organized around practical outcomes for citizens, investors, public finance, enterprise competitiveness, and broader participation in the Kenyan economy.</p>',
));
pa_more_update_elementor_image_by_class(2280, 'pa-refresh-hero-image', 2499);
pa_more_update_elementor_image_by_class(2280, 'pa-refresh-split-image', 2499);

pa_more_replace_strings_in_elementor(2281, array(
	'Active areas of focus' => 'Areas of focus',
	'<p>Each programme card carries a sector tag, current status and expected public value outcome so stakeholders can quickly understand where attention is focused.</p>' => '<p>The Privatization Programme continues to demonstrate how strategic privatization unlocks enterprise value, deepens capital markets, and expands opportunities for Kenyan citizens to participate in the country\'s economic growth.</p>',
));

// Bell ringing press release news post.
$press_release_url = wp_get_attachment_url(3554);
$news_title = 'Kenya Pipeline Company PLC Debuts on the Nairobi Securities Exchange at KES 9.30';
$news_slug = 'kpc-plc-debuts-on-the-nairobi-securities-exchange-at-kes-9-30';
$existing = get_page_by_path($news_slug, OBJECT, 'post');
$news_content = <<<HTML
<article class="pa-news-article pa-kpc-listing-news">
	<section class="pa-news-hero">
		<p class="pa-news-kicker">Press Release</p>
		<h1>Kenya Pipeline Company PLC Debuts on the Nairobi Securities Exchange at KES 9.30</h1>
		<p>Nairobi, Kenya, 10 March 2026 - Kenya Pipeline Company (KPC) PLC marked its official listing on the Nairobi Securities Exchange, entering the market as one of the exchange's top ten largest companies by market capitalisation and marking a historic milestone in Kenya's capital markets and privatization journey.</p>
	</section>
	<section class="pa-news-body">
		<p>The bell ringing ceremony was officiated by H.E. President William Samoei Ruto, who rang the ceremonial bell to signal the commencement of trading. KPC PLC shares opened at KES 9.30 per share, above the IPO offer price of KES 9.00.</p>
		<p>The ceremony followed the successful completion of the Kenya Pipeline Company Initial Public Offering, which recorded a 105.7 percent oversubscription and raised KSh 112.374 billion, underscoring investor confidence in the company and Kenya's economic prospects.</p>
		<p>Speaking during the ceremony, President Ruto said the listing of Kenya Pipeline Company is a powerful signal of the strength, confidence and maturity of Kenya's economy, and a major step in broadening citizen participation in strategic national assets.</p>
		<p>Kenya Pipeline Company PLC Board Chair Mrs. Faith Bett-Boinett pledged the Board's commitment to steer the company as it transitions into a publicly traded regional energy infrastructure company. KPC PLC Managing Director Mr. Joe Sang said the listing cements a legacy built over 53 years of operational excellence.</p>
		<p>The transaction also strengthens the Nairobi Securities Exchange as a platform for citizen ownership, long-term savings and domestic capital formation.</p>
		<div class="pa-news-actions"><a class="pa-news-button" href="{$press_release_url}" target="_blank" rel="noopener">Download Press Release</a></div>
	</section>
</article>
HTML;
$news_args = array(
	'post_title' => $news_title,
	'post_name' => $news_slug,
	'post_content' => $news_content,
	'post_status' => 'publish',
	'post_type' => 'post',
	'post_category' => array(112),
	'post_excerpt' => 'KPC PLC shares opened trading at KES 9.30 as President William Ruto officiated the NSE bell ringing ceremony.',
	'post_date' => '2026-03-10 09:00:00',
	'post_date_gmt' => get_gmt_from_date('2026-03-10 09:00:00'),
);
$news_id = $existing ? $existing->ID : wp_insert_post($news_args);
if ($existing) {
	$news_args['ID'] = $news_id;
	wp_update_post($news_args);
}
if (!is_wp_error($news_id) && $news_id) {
	set_post_thumbnail($news_id, 2790);
	update_post_meta($news_id, '_elementor_data', wp_slash(wp_json_encode(pa_more_elementor_wrapper($news_content, 'paKpcNews'))));
	update_post_meta($news_id, '_elementor_edit_mode', 'builder');
	update_post_meta($news_id, '_elementor_template_type', 'single-post');
	pa_more_log("Created/updated KPC listing news post {$news_id}");
}

// Try to locate Sylvester Kamau for the title punctuation request.
global $wpdb;
$sylvester_ids = $wpdb->get_col("SELECT ID FROM {$wpdb->posts} WHERE post_type IN ('team','page','post') AND post_status NOT IN ('trash','auto-draft') AND (post_title LIKE '%Sylvester%' OR post_content LIKE '%Sylvester Kamau%')");
if ($sylvester_ids) {
	foreach ($sylvester_ids as $id) {
		pa_more_replace_strings_in_elementor((int) $id, array(
			'Deputy Director Supply Chain Management' => 'Deputy Director, Supply Chain Management',
			'Deputy Director - Supply Chain Management' => 'Deputy Director, Supply Chain Management',
		));
		$content = get_post_field('post_content', (int) $id);
		if (is_string($content)) {
			wp_update_post(array(
				'ID' => (int) $id,
				'post_content' => strtr($content, array(
					'Deputy Director Supply Chain Management' => 'Deputy Director, Supply Chain Management',
					'Deputy Director - Supply Chain Management' => 'Deputy Director, Supply Chain Management',
				)),
			));
		}
	}
	pa_more_log('Updated Sylvester Kamau title punctuation where found');
} else {
	pa_more_log('Sylvester Kamau was not found in live team/page/post content');
}

if (function_exists('rocket_clean_domain')) {
	rocket_clean_domain();
}
if (function_exists('w3tc_flush_all')) {
	w3tc_flush_all();
}
if (function_exists('litespeed_purge_all')) {
	litespeed_purge_all();
}
wp_cache_flush();

pa_more_log('Additional PA content updates complete.');