Posts Tagged Wordpress
I’ve been wishing for a WordPress widget that would help visitors find more blog content relevant to the search engine terms that got them to the blog in the first place. Maybe I’m just bad at googling or something, because I haven’t found one.
Now I’m writing my own widget, called “Search on search”. If you arrive at this blog from a search engine link you might see a section for it in the sidebar. If, not, and you’re curious you could force it by trying this search:
And then in the Google results find a link going to this site. (The widget doesn’t appear if it can’t figure out the search engine terms.)
You can find the widget code as a gist on Github, namely here:
It’s not rocket surgery. The main job is about figuring out what search engine terms, if any, that the user used to find the blog. But I didn’t need to solve that one either. Istanto had already solved it for me. =)
I still have a bug to iron out: The links presented doesn’t get styled like the other lists. I can’t figure out why… Feel invited to help me!
Update 17 January: The plugin is now available in the WordPress.org plugin directory: