0

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 ?

1 Answer 1

2

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

1
  • 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. Commented Feb 17, 2012 at 12:55

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.