From unicorns to enterprises, GoodworkLabs powers 1 Billion+ users. Talk To Us →
term_id) : array(); // Organise into top-level and children $top = array(); $children = array(); foreach($all_items as $item){ if((int)$item->menu_item_parent === 0) $top[] = $item; else $children[(int)$item->menu_item_parent][] = $item; } // Find CTA item (Schedule a Call) $cta = null; foreach($top as $k => $item){ if(stripos($item->title,'schedule') !== false || stripos($item->title,'call') !== false){ $cta = $item; unset($top[$k]); break; } } $top = array_values($top); // SVG icon picker based on title keyword function gwl_icon($title){ $t = strtolower($title); $icons = array( 'leadership' => '', 'group' => '', 'equality' => '', 'diversity' => '', 'corporate' => '', 'award' => '', 'ai' => '', 'machine' => '', 'data' => '', 'cloud' => '', 'product' => '', 'engineering' => '', 'digital' => '', 'transform' => '', 'analytic' => '', 'insight' => '', 'banking' => '', 'financial' => '', 'health' => '', 'retail' => '', 'manufactur' => '', 'software' => '', 'media' => '', 'entertainment' => '', ); foreach($icons as $key => $svg){ if(strpos($t,$key)!==false) return $svg; } return ''; } // Auto description from title function gwl_desc($item){ if(!empty($item->description)) return esc_html($item->description); $map = array( 'leadership'=>'Meet the team driving innovation','group'=>'Our global network of subsidiaries', 'equality'=>'Our commitment to an inclusive workplace','award'=>'Recognition for our excellence', 'corporate'=>'Making a positive impact on society','ai'=>'Cutting-edge AI for your business', 'data'=>'Build robust data pipelines','cloud'=>'Scalable cloud on AWS, Azure & GCP', 'product'=>'End-to-end product development','digital'=>'Modernise your enterprise', 'analytic'=>'Data-driven BI & dashboards','banking'=>'Fintech for modern banking', 'health'=>'Transforming patient outcomes','retail'=>'Next-gen retail technology', 'manufactur'=>'Industry 4.0 smart factory','software'=>'Bespoke retail software', 'media'=>'Tech powering future of content', ); $t = strtolower($item->title); foreach($map as $k=>$d){ if(strpos($t,$k)!==false) return $d; } return 'Explore '.esc_html($item->title); } ?>
ID]); $kids = $has ? $children[$item->ID] : array(); $mid = 'gwlm-'.$item->ID; ?>