I’ve been blogging with WordPress now for just over two months. I actually posted my first article on Feb. 20, 2006.
It didn’t take long to realize the significant traffic this would generate, not to mention actually being fun for me. I had almost 12,000 pages viewed the first full month, in March. April just finished up with right at 16,000 pages viewed.
I hadn’t ever used PHP very much. In fact, most of my programming skills are from finding an example and tweaking it to suit my needs. I know just about enough of a lot of languages just to get around a little.
So, the way WordPress is arranged using PHP inline with HTML makes it really easy to grab things and position them as you want.
When I set up the search that comes with WordPress, I realized it was tied with the settings for the number of posts that are viewed in a category or archive on one page at a time.
So, to get the search right, you want 10 to 20 posts on each page. Otherwise the visitor will think there is only one hit for their search in your articles. The problem is: I don’t want that many posts on the non-search pages. I was getting around to creating an ‘if’ statement in the PHP to make the search page the only one that displayed more posts. But, I tried the Google Search bar instead.
I know you’ve seen the Google Search Bar on sites for years. I never really thought about it until now. It allows the visitor to select your web site in the search. It’s really cool. I like it much better for the way it displays the search results like a search engine. And it’s fast too.
You can put it anywhere you want in your site. I have it at the bottom of all my posts except here also in this post just to point it out.
It has a really easy wizard to click your options and allows you to input up to three websites to include in the search results. It’s an incredible search tool for your blog, or any site you have.
I just put it up tonight. I already love it.
If you aren’t using the Google search on your site, just click the link here: