• Hello all, I did not see a topic like mine, therefore I am asking. I put my Google custom search code in many ways in different styles for my web and all were wrong. Can anyone help me??
    I have two codes one for search box and other for results. Some people put both in editor and some put one in widget and the result code in editor. I did all ways as said by people online and couldn’t do it correctly.
    I use mystyle theme. I have search-form.php and searchresults. Please tell me where to put my codes and which codes to delete….

    :((
    Thank you

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there
    I am not sure if I am picking you up correctly, but you need to have the search code on a page, say, named “Search”, and the search result code will go on another page, call it “Search result”.

    You will need to add it in html mode, then save and don’t re-open it as the code can scramble.

    You can also put the search code into a widget; you may need to have a plugin such as “PHP Text Widget” for this to work.

    Good luck!

    Thread Starter surukiryuinsho

    (@surukiryuinsho)

    it did not work. I did exactly what you said and it’s not working.. I am going crazy!!!

    Are you using the php text widget or similar?

    You should also try adding the code to a basic html page (outside wordpress) first, to see if it works.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘problem with Google custom search engine’ is closed to new replies.