like my search results?
here is an [example]. Then you’ll need the following:
- Results count Plugin [download here]
- Search Excerpt WordPress Plugin [download here]
- My copy of search.php to add to your skin [download here]
I currently display 5 posts per page but I want to display (at the most) 10 results per search inquiry. My modified search.php file is set to display 10 results per page with the following line of code:
$posts=query_posts($query_string . '&posts_per_page=10');
In order for the Result count plugin to display the result count correctly you will need to open the Result count plugin file results-count/results-count.php for editing and find the line:
global $posts_per_page, $paged, $wp_query, $author_name, $author;
and replace it with:
global $paged, $wp_query, $author_name, $author;
$posts_per_page=10;
I believe that’ll do it.
Other Credits due:
Wordpress Hacks
Imported from B2evolution(2.4.6) to Wordpress (2.8)
The platform switching is done.. at 80%! There is still lots to do with the media file transfer, which I’m not too excited about and I may want to eliminate some of these ancient posts. hm. not sure. Is a trip down memory lane something I have time for? Not.
I wanted a new and separate database for this fresh install of Wordpress. When I installed Wordpress 2.7 and there was immediately a banner announcing a new version 2.8 available. With two clicks the update was completed. That was easy. I’m liking this already. So on to the content migration.
Many websites went with the suggestion to go ahead and add the wp tables with the existing b2e tables for easy transfer. puh. Even if I did want to go that route the migration still remained an enigma with all the outdated scripts out there.
So I went with the option two: converting the old blog content to “Movable Type ASCII export” format and then importing the results it into Wordpress. It’s easy if you have a 2.0 b2e skin that converts the posts to MT format -then it works great! Well, now you do:
1. Download this skin: b2e_mt-export The name of this skin is called ‘basic’. If you have a similarly named skin, BACKUP YOUR CURRENT SKIN. Now upload the .zip file onto your server and extract it into your b2evolution skin folder.
2. Install the new skin ‘basic’ into b2evolution through the backoffice.
3. Select the skin ‘basic’ and view the blog in your browser. Choose to view the source code (View > Source Code or Ctrl + U). Save the source code to file and import this directly into the Wordpress install.
This worked for my installed version of B2evolution 2.4.6. Hope it works for you and saved you some time doing it.
I’m not worried about permanent links or page ranking so I’m ignoring that side effect of the migration if it exists.
smiling back
Do you see it? The smile reflecting back at me?
Thanks to Christina, Amy, Kristie, and Dad (and the rest of you who silently grumbled, I could feel your frustration) for bumping to my attention the gravity of the browser madness my blog was creating.
After some milling over my comment to Christina, I backed up and thought, why should I be intolerant? Who am I to dictate which software someone uses? Of course, me being a lazy novice when it comes to coding, I appreciate that Firefox is not so militant when it comes to un-kosher syntax in Javascript, although it is only a matter of time when Firefox reigns and becomes just as righteous as Internet Explorer. Which software will I love then? I guess that’s the wrong line of questioning to this problem. All along it should have been, how can I continually show love to you, dear reader? I hope the answer is at the very least, with happy error-free internet surfing.*
As for the picture: I noticed it this morning at 8:30 while making coffee. The sunlight reflecting off the windows on to the building opposite our kitchen window. Just 15 minutes later, the smile was gone. It was an interesting moment to take notice, especially after a half sleepless night worrying over an awful smell emanating from a neighbor’s apartment. I may have to write about it later. It ended up being nothing serious, if anything, our neighbors are sleeping more soundly that we showed last night neighborly concern. Seeing the sunlight reflected in the shape of a smiley, brought significance to me, even if imagined. So I hope you notice a smile on your way today as well.
*speaking of error free viewing: this site is optimized for Firefox version 3.0.4, you can update your browser here if you are still using 2.0.0.18 or below. Also, if you find any obscene errors with other browsers, you are a gentle soul if you kindly let me know
blog/skin tweaks are done!
..if you find anything wrong, annoying, off kilter, disturbing. let me know.
p.s. I hate widgets.
Like




