I would like to build a wordpress theme with a custom menu (no dropdowns, nothing fancy). I am trying to get
wp_nav_menu do what I want, but I can't quite see how to achieve the following.
I would like to give the menu items different names, i.e. if I have a page called
Classes, I would like the link in the menu to be called
clAssEs (which I will style to be rendered in a different font).
Should I use custom fields for this?
P.S.: Looking at the html output, the classes of my menu list items are
page-item-21. Does this mean I am doing something wrong? This looks more like it is generated by
I am calling
<?php wp_nav_menu(array( 'theme_location' => 'main-menu', 'menu_class' => 'menu', 'container_id' => 'none', 'fallback_cb' => 'wp_page_menu' )); ?>