• Hiya everyone,

    I’m wondering if anybody can help, show or point me in the right direction for adding a search bar to our website.

    At the moment when you type for something on the website (say red socks) it goes to a whole host of posts and pages that mention anything to do with red socks but i want it to go to a specific page how would i do this? plus be able to change where the search bar sits on the website?

    Hopefully someone can help ??

    Thanks!
    Mandy.

Viewing 1 replies (of 1 total)
  • Phil

    (@owendevelopment)

    There is a search bar widget in ‘Appearance’ -> ‘widgets’ so you can place it anywhere your theme supports widgets.

    As far as modifying the search to display a specific page you set for the keyword, it will take a lot of coding to get this working right. You’d need to consider multiple spellings and variants as well, eg,

    Searching ‘red socks’ should also include:
    redsocks
    red sock
    redsock
    Red Socks
    RED SOCKS
    socks that are red
    socks red
    … the list goes on.

Viewing 1 replies (of 1 total)
  • The topic ‘Adding search’ is closed to new replies.