Related Post Widget Using Google Custom Search for Blogger

You have seen many related post widgets for blogger. But here is one which is designed using Google Custom Search. See the demo in the footer section of this post.


How to install :
1. Login to Blogger Dashboard
2. Go to Design >> Edit HTML >> Check ‘Expand Widget Template
3. Search for <data:post.body/>
4. Paste the follwoing code below <data:post.body/> tag

Related Posts...


5. Create your own Google Custom Search Engine and you will get Custom Search element code.
6. Replace 'Google Custom Search ID' in above code with Search ID (It will be like '018365665906983522985:XXXXXXXXXXX') that you got in 5th step.
7. Save template. You are done!

Categories:


0 comment:

Post a Comment