A new area will appear. In the field where it says “Sites to search” enter your domain name followed by an asterisk (*) like this:https://wp-buddy.com/*Note: Do not forget the asterisk at the end! Otherwise the custom search engine will only search the homepage of your domain.

Also select your language and the name of the search engine:

Select sites, language and name

The click the big fat “CREATE” button.

After that three different buttons will appear. Click on the button which says “Control Panel”.

As a side information: The naming convention of this is a little bit confusing. The first part of the above mentioned code (before the colon) is your Google User ID, the second part (after the colon) is the engine ID. Altogether it’s called “search engine ID”.

That’s it for now. You can go back to this Control Panel once you’ve finished setting this up.

3. Set up the plugin

Install the Google Custom Search WordPress Plugin according to the documentation that came delivered with the plugin.

Go to the new menu that appears in your WordPress Administration panel: “Google Custom Search Pro”.

Save your settings and check if the plugin was able to log itself in to your Google Account (1). If not, please click the log tab (2) to learn more about the error.
Google Account Login

If everything is okay, click the “Layout” tab.

Choose a search page by start typing at least three letters or just click the “Click here to create a new page” link to create a page instantly.

Save your changes.

That’s it pretty much. You can make a hell of a lot layout changes, but please not that some settings can only be activated if they also get activated right from the custom search control panel on google.com.

4. Set-up On-Demand-Indexing and On-Demand-Removal

With every custom search engine it’s possible to send new pages, posts or custom post types directly to the custom search engine index. This actions are called “on-demand-index” (to send new pages) and “on demand removal” (to delete pages from the index).