Skip to content

Commit

Permalink
Remove unused nav-lang for mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
jdelasoie committed Dec 15, 2021
1 parent f0ff1a0 commit 4c7a81e
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions wp-theme-2018/template-parts/language-switcher.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,21 +89,6 @@
</ul>
</nav>

<select name="nav-lang" class="nav-lang-mobile form-control">
<?php foreach($translations as $lang): ?>
<?php if ($lang['current_lang']): ?>
<option value="/<?php echo $lang['slug'] ?>" selected data-url="<?php echo $lang['url'] ?>">
<svg class="icon" aria-hidden="true"><use xlink:href="#icon-planet"></use></svg>
<?php echo strtoupper($lang['slug']) ?>
</option>
<?php else: ?>
<option value="/<?php echo $lang['slug'] ?>" data-url="<?php echo $lang['url'] ?>">
<?php echo strtoupper($lang['slug']) ?>
</option>
<?php endif; // current lang ?>
<?php endforeach; ?>
</select>

<?php
}

Expand Down

0 comments on commit 4c7a81e

Please sign in to comment.