How to Blog: Your Comprehensive Source for WordPress Themes, Plugins, Tips, Tricks, Reviews and News

Subscribe to our newsletter for the latest WordPress tips!

How to make your TypePad blog searchable – add a search box to your blog

As I create more posts, I’ve realized that my blog can be difficult to navigate for the newbie. I wanted to add the ability to search through all my posts (why is this not a built in feature in TypePad??), and, through the help of Jamie Jamison, finally implemented search on my site.

Want it on your TypePad blog, too? Here’s whatcha gotta do.

  1. go to Google Free Site Search and create an account
  2. in the customize section, enter the domain of your website (in my case, blogging.typepad.com)
  3. click Update to get the code that google generates for you
  4. Now you’ll need to make a few modifications to that code so that it displays properly in your TypePad blog:
    • Change the line of code that reads:
    • to instead read

    • AND change the line that reads:
      • %(domain)s %(domain)s
    • to instead read:
      • yourdomainnamegoeshere
      • (obviously, replace ‘yourdomainnamegoeshere’ with your actual domain or site name)
  5. create a typelist called search and paste the modified Google code for the search box right into the notes section of the only item in the list.
  6. Make sure the notes are set to display as text,
  7. add the typelist to the sidebar of your blog in the regular interface wherever you want it to appear (In the design section, first go to content and check the typelist, then go to order and position the searchbox where you want it to go.

People can now easily search all of your posts for the info they’re looking for, rather than having to hunt through your archives. Nice. Thanks Jamie!

It’s funny — TypePad itself gives you the ability to search through all of your own posts when you are managing your weblog — don’t they realize the usefulness of this feature for blog visitors as well? If I worked for Six Apart, I’d be making blog search a standard part of the template set, AND add a radio box for searching other typepad blogs, rather than forcing people to use a third-party tool (Google) to do it — this would keep visitors on TypePad sites and promotes other TypePad sites as well. Oh well — thanks to Jamie and Google, at least we now have a way to add a search box to our blogs even w/o the help of Six Apart.

Click Here to Leave a Comment Below

Leave a Reply:

Pin It on Pinterest

Share This