Forums

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

Home Forums JavaScript Search.

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #34394
    Attila Hajzer
    Participant

    How do you use searchbar function in your website that works. because i know you can’t just have a regular input. you need to have some javascript behind it. but how does it work and are there good codes out there?

    right now for my site im using ever page includes the header and footer. is that okay/ or should i be doing it differently for the setup of my website and elements.

    #87448
    chrisburton
    Participant

    Are these two separate questions unrelated? I’m also not quite sure what you’re asking.

    #87451
    Bob
    Member

    You can use the function for that. (function reference)

    Or you can create a search page like shown here: http://codex.wordpress.org/Creating_a_Search_Page. Some themes have search forms in it already though, but perhaps if you made your own theme you forgot to add it.

    #87461
    chrisburton
    Participant

    Then I would go with Google Search as stated above. However, there’s a free version

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