[Resolved] Output Search icon /form

Home Forums Support [Resolved] Output Search icon /form

Home Forums Support Output Search icon /form

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #1400329
    Daniele

    Hello,
    I would like to output the search icon (with the toggle form) in a Element hook I’m creating.

    How can I output it?

    thanks

    #1400645
    David
    Staff
    Customer Support

    Hi there,

    The GP Navigation search can only be displayed in the Primary navigation or moved to the secondary with a little code.

    Or are you looking to use a plugin ?

    #1400748
    Daniele

    I would love to have a php code to output it in my custom hook ๐Ÿ˜€

    If it’s not possible I will do it with a plugin..but I prefer always to not install unnecessary stuff!

    #1401329
    Tom
    Lead Developer
    Lead Developer

    The nav search itself is mostly built to work inside the primary navigation – it may be better to go with another solution if you need to add it to a hook.

    #1403888
    Daniele

    Thanks,
    I made it manually with a hook and some JS

    #1404224
    Tom
    Lead Developer
    Lead Developer

    Glad you got it working ๐Ÿ™‚

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