How to add google custom search box

MAKE your blogs or websites more reader friendly by adding google custom search box. Just follow these simple steps and you can finish installing it in just 5 minutes.

STEPS to create search results page

1. Go to Pages > New page
2. Select Blank page
3. Enter Page title and leave the content blank
4. Click Publish
5. Copy the URL of the page

STEPS to create google custom search code

1. Log in to Google AdSense
2. Go to My ads > Search
3. Click New custom search engine
4. Fill up the necessary infomation
5. Customise your search box and search results page
6. Select on my website using an iframe for display results
7. Paste the copied URL
8. Click Save and get code

STEPS to add search box code

For the search box code
1. Copy the search box code
2. Go to Layout > Add a gadget
3. Add HTML / Javascript
4. Paste the copied search box code
5. Click Save

For the search results code
1. Copy the search results code
2. Go to your search results page
3. Switch to edit HTML
4. Paste the copied search results code
5. Click Publish

0 comments:

Post a Comment

ShareThis