Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Please take a look at below image.

enter image description here

Here we can see URL, Navigation Label & Title Attribute under Menu Structure >> Home. I need there a more option called "Data Description".

I have a task to write menu code like below with wordpress.

<a href="[URL]" data-description="[Data Description]">[Navigation Label]</a>

Is there any option to display my menu dynamically like this? Also It should support "current-menu-item" class on current page.

I'm a wordpress theme developer & also have some knowledge of plugins development, If there are any way please suggest me.

share|improve this question
    
Have you researched and tried anything so far? If so you should show what you got to give others a better starting point to help you. –  ialocin Aug 30 at 20:31
    
Actually, have knowledge & also used in my too many themes for simple menu link like <a href="[URL]">[Navigation Label]</a> but today I wanted there data-description="[Data Description]" & want know the solution for this task. –  Ankur Aug 31 at 5:09

1 Answer 1

up vote 0 down vote accepted

This link helps me to solve my problem. : http://wordpress.org/support/topic/how-to-show-the-description-of-the-menu

share|improve this answer

Your Answer

 
discard

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.