There used to be only two ways to display your search results–an overlay that popped up on top of your blog when a reader did a search or with the results hosted on our site. For those that haven’t seen it, this is what the overlay looks like…
With a recent release, however, all that has changed. We’ve had many users asking for the ability to embed search results within a specified page on their blog and now, you can do just that.
To see an example of how the embedded search results look, take a stroll over to Celebridiot. While getting your updates on celeb gossip, do a search using Lijit in the upper left of their site*. This is how you’ll see the search results…
Pretty cool, huh? The only thing with this display option is that it’s not meant for the weak of heart or the less tech-savvy. By this, I don’t mean to offend but do want to convey that in order to embed search results on your site, you need to be able to create your own page within your blog where the results will live. This is not always an easy task and there are some blog platforms that may not allow you to do this. But, if you know what you’re doing, here are the steps for embedding Lijit search results on your blog.
Start by creating a page within your blog for the search results. If you’re using WordPress, you can do this by creating a new page and calling it www.yoururl.com/search. Publish the page and once you have this set up, log in to your Lijit account.
Go to your Wijit configuration page within Lijit. When you’re logged in, choose the ‘Wijits’ tab at the top of the page. If you scroll down towards the bottom, you’ll see an area with a drop-down box to choose where you want to display your search results. Choose the ‘on my blog (embedded)’ option and you’ll see this appear.
You can enter the URL of the page you created for your search results in the empty box and then copy the code below to put on that page.
Save your widget settings at the bottom when you’re done. You’re going to paste the code we provided you on that special search results page that you set up and then, you should be good to go.
We’re excited about this functionality because it allows our users to have even more control over how their search looks and feels. And? This is something you wanted. So if you have any questions about how to embed search results on your blog, feel free to send them our way.
*This site is also a great example of our WordPress plugin overridng the default search of a site and making it way more Lijit.