WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using WordPress custom navigation menus automatically gets the menu item label and displays it between the of the menu item, what I need to do is to get a custom field value of the page and displays it instead of the menu item label. How can I do that ?

share|improve this question
up vote 2 down vote accepted

You need a custom walker. Change the function function start_el() to use your custom field’s value.

share|improve this answer
Thanks very much, but I'm not a pro php developer :) . So can please hint me how to do that to display a custom field value INSTEAD of the menu item label, because when i remove the menu item label the whole item is automatically removed. – Mohamed Said Feb 17 '12 at 12:55

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.