The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript How to keep state of custom menu in WordPress?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #237360

    This is the jsfiddle
    I have the ul/li list in WordPress. Would you please help me make the sub-menus that can be toggled and keep state when reload page or click to link?


    not totally sure what you mean. Isn’t this just achieved with CSS? WordPress gives you certain classes that you can use to style accordingly.

    You can set parameters in your wp nav menu function to control class names and behavior etc.

    Sorry if I’ve misunderstood your question.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.