if(substr( $page['page_url'], 0, 7 ) === "/learn/") { ?> } ?> if($page['page'] === "checkout") { ?> } ?>