[Resolved] Creating menu on the fly

Home Forums Support [Resolved] Creating menu on the fly

Home Forums Support Creating menu on the fly

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #496116
    neverything

    Hi, I want to create a new menu “on the fly” in PHP, and then add a number of sub-items to that menu.

    Do you know where I would hook into WP to get this done? I am envisioning some situation where I can just build out an array of the options, and then the code would continue with GP adding all the appropriate styles to make the drop-down menu work, etc. (I.e. I wouldn’t have to learn those classes… I would just provide the content/structure and GP would style as needed.)

    Thanks.

    GeneratePress 2.0.2
    GP Premium 1.5.6
    #496234
    neverything

    Nevermind, figured out another way ๐Ÿ™‚ Thanks!

    #496426
    Tom
    Lead Developer
    Lead Developer

    Glad you got something working ๐Ÿ™‚

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.