jleuze:
<div class="menu">
<ul>
<li ><a href="https://localhost/wp_infoline">Nyheter</a></li>
<li class="page_item page-item-59 current_page_item"><a href="https://localhost/wp_infoline/" title="Programinfo">Programinfo</a></li>
<li class="page_item page-item-60 current_page_item"><a href="https://localhost/wp_infoline/" title="Programinfo">Fakta</a></li>
<li class="page_item page-item-61 current_page_item"><a href="https://localhost/wp_infoline/" title="Programinfo">Inspiration</a></li>
</ul>
</div>
stvwlf:
Thanks. That would be one solution.
My reflection: I wonder why wp_page_menu dont set a class to the index.php when it does for the rest of li-elements with pages.
I wonder why wp_list_pages don’t allow for inclusion of the index page.
Seems like 2 functions that lack in slightly different ways.
I would propose to add a class to index (home) to wp_page_menu since a menu often is expected to include home with a current status.