menu without label wp


Staff member
I have a menu on wordpress using this

<?php wp_nav_menu( array( 'sort_column' => 'menu_order','menu_class' => 'navlink', 'container' => false, 'theme_location' => 'header-menu') ); ?>

the output is like this

<div class="navlink">
<li class="page_item page-item-2 current_page_item active"><a href="">About</a></li>
<li class="page_item page-item-6"><a href="">Skills</a></li>
<li class="page_item page-item-4"><a href="">Project</a></li>
<li class="page_item page-item-8"><a href="">Contact</a></li>

now i want is to display my menu without the labels about, skills... is it possible? i tried using the menu and display it via widgets but the menu won't allow me to add pages without any labels. it automatically removes the page from the menu.

like this.

<li class="page_item page-item-2 current_page_item active"><a href=""></a></li>
<li class="page_item page-item-6"><a href=""></a></li>
<li class="page_item page-item-4"><a href=""></a></li>
<li class="page_item page-item-8"><a href=""></a></li>

Is their any possible way other than using static html? I'm using foundationpress as my theme.

I will display the label of my menu using pseudo element
fiddle <a href="" rel="nofollow">here</a>