enter image description here

I’m trying to improve my learning WordPress is very new, and the first theme.
My problem is,

With the function “wp_nav_menu” into the “ul” tag,

data-hover = "dropdown" data-animations = "zoomIn zoomIn zoomIn zoomIn"

I want to add html attributes, how can I do that ?,

My aim is to make a hover dropdown menu.

I’ve added pictures and source code below.

Thank you very much in advance for your help.

Read more here: How to add html attributes to the "ul" html tag with "wp_nav_menu" function?


If you know the solution of this issue, please leave us a reply in Comment section, to update the question.

Wordpress related questions and answers: