Sitemap

url; $title0 = $items0[$i]->title; $attr_title0 = $items0[$i]->attr_title; // Level 1 echo ‘‘.”\r”; $items1 = wp_get_nav_menu_items($title0); if ($title0 == ‘Contact Us’) { // Level 2 – for Contact echo ‘
‘; echo ‘
‘.”\r”; echo ‘
‘.”\r”; } else if ($title0 == ‘Vessel Specs’) { // Level 2 – for Vessel Specs echo ‘
‘.”\r”; } else { if ($items1[0]->title) { for ($j = 0; $j < count($items1); $j++) { if ($j > 0) echo ‘
‘.”\r”; $url1 = $items1[$j]->url; $title1 = $items1[$j]->title; $attr_title1 = $items1[$j]->attr_title; // Level 2 echo ‘
‘.”\r”; if ($title1 == ‘Careers’) { echo ‘
‘.”\r”; } else { $items2 = wp_get_nav_menu_items($title1); echo ‘‘.”\r”; echo ‘
‘.”\r”; } // EOF displaying level 3 } // EOF for loop $j } else { echo ‘
‘.”\r”; echo ‘
‘.”\r”; echo ‘
‘.”\r”; } // EOF displaying level 2 } echo ‘
‘.”\r”; } // EOF for loop $i ?>