<?php// Get current post category$category=get_the_category();$category_slug=!empty($category)?$category[0]->slug:'';// Define ad zone mappings$ad_zones=['dining'=>'495','nightlife'=>'496',// Add more mappings];// If we have a matching ad zone for this categoryif(isset($ad_zones[$category_slug])){$zone_id=$ad_zones[$category_slug];echo'<ins data-revive-zoneid="'.$zone_id.'" data-revive-id="1bbb33b30cedcbfeeb380aface2ebc8f"></ins>';echo'<script async src="//adserver.sgmagazine.com/delivery/asyncjs.php"></script>';}?>