How to Create Google Custom Search in Thesis WordPress Theme

Share this Article :

This Steps will guide you how to install Google Custom Search on thesis wordpress theme. It will create the Custom Search on the top right of Navigation Menu page.

1. In your browser go to http://www.google.com/cse/

2. Go to AdSense Setup -> Get Ads -> Click AdSense for Search -> proceed to create search code unit until you get “Search Box Code” and “Search Box Code”.

Search Box Code
Paste this code in the page where you’d like your search box to appear.

Also Read :   How to Install WordPress on Remote MySQL

Search Results Code
Paste this code on http://www.myblogxxxx.com/search or where you would like your search results to appear. This page must manually created by your self.

3. Add “Search Box Code” in custom_functions.php

4. Paste “Search Results Code” into http://www.myblogxxxx.com/search

5. Add this in custom editor, Custom/custom.css

    .custom #custom_search {
    	float:right;
    	margin-right:2em;
    	position:relative;
    	padding:0.818em 0 0.818em 0;
    }
    


Leave a Reply