Posts tagged with: Search

How To Combine Google Custom Search and AdSense with the Default WordPress Search

Google Custom search is a powerful tool to give your readers a chance to search for content from your blog, web or whatever sites you define for the search. Wordpress comes with default search which presents blog posts and/or pages with the search terms you used.

Remember to check Google’s Terms & Conditions when adding the Google Custom Search. You are not allowed to hide the fact that you’re using Google Custom Search. Reworked instructions are here How To Add Google Custom Search to Your Blog.

I wanted to combine these two. I like the default as the Wordpress search gives clear blog post links and integrates automatically into the Wordpress Theme and templates. On the other hand, Google Custom Search is more accurate in a sense and is “automatically” monatized through Google Adsense.

This article shows you how to get the best of both words, custom search results from Google, along with Adsense ads and the Wordpress search results that display the most relevant posts from your blog.

Note that the most simple way to add Google Custom Search Engine (GCSE) to your blog, is to use a plugin and corresponding widget, but I rarely say no to a chance to mess with javascript and php, so here we go!

Click to read

Other Tags: AdSense, Customize, Make Money Online, php, Theme, WordPress
Topic: WordPress Tips