solostream

Archive for October, 2007

Surfing the blogosphere is just like, oh I don’t know, detecting contaminants in water

| October 30, 2007 | 0 Comments
Some crazy academics have written a very academic paper (PDF) on how you can use the same system to figure out where to put sensors in the water to detect contaminants, and make sure we catch all the good stories in the blogosphere. Oh goody! Basically, all you have ... View Post

5 steps to a smoother WordPress upgrade

| October 30, 2007 | 8 Comments
Someone just left a comment here on WordPressGarage saying that he upgraded his wife's WordPress blog and lost all the categories. He wanted to know how he could get them back. I asked him if he had backed up the blog before upgrading, and he sadly said no. First of all, that's why ... View Post

More feed icons

| October 29, 2007 | 1 Comment
iLemoned points us to Zeusbox Studio's update to their Feedicons icon pack. feedicons2.jpg View Post

Creating a feature post or sticky post in a WordPress blog

| October 29, 2007 | 3 Comments
To get a post from a specific category to appear at the top of the page above the rest of the posts, and to only change when a new post from that particular category is added, use the following code: <?php /*?><?php $my_query = new WP_Query('category_name=featured&showposts=1'); while ($my_query->have_posts()) : $my_query->the_post(); $do_not_duplicate = $post->ID;?> <div class="featureItem"> <h1>Feature: <a href="<?php the_permalink() ... View Post

Creating different Page templates

| October 29, 2007 | 0 Comments
To create a new Page template, add the following code to the top of the page: <?php /* Template Name: Home */ ?> The Template Name can be changed, i.e. Home can be About Us, or anything else. When you create a Page in WordPress, on the right-hand side there is a drop down box for selecting a template. The ... View Post

Display a selected number of posts from one category in the sidebar

| October 29, 2007 | 30 Comments
<?php$postlist = get_posts('category=6&numberposts=5'); foreach ($postlist as $post) :?><li><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></li><?php endforeach; ?> Use this in the sidebar to display a defined number of posts from a specified category. Where it says "category=6" replace the 6 with the relevant category ID number, and where it says "numberposts=5" replace the 5 with the number of ... View Post

Code snippets on WordPressGarage

| October 29, 2007 | 0 Comments
I am going to start posting code snippets on WordPressGarage that are used in WordPress template files for different purposes. I will display the code snippet with an explanation of how it's used, what it does, and why you would want to use it. The goal of WordPressGarage is to be an online WordPress manual ... View Post

WordPressGarage now has a Google PageRank!

| October 29, 2007 | 6 Comments
I just noticed that WordPressGarage finally has a Google PageRank! For many many months, this blog has had no PageRank, for reasons I don't completely understand. It seems that Google sweeps the web very infrequently, doling out page ranks as they go along. These PageRanks stick until the next time around, ... View Post

Get ready to update WordPress…again

| October 28, 2007 | 8 Comments
http://wordpress.org/development/2007/10/wordpress-231-release-candidate-1/ Over 20 bug fixes. What can I say except "sigh." View Post

WordCamp Israel overview

| October 26, 2007 | 5 Comments
WordCamp Israel happened yesterday. It was all videotaped and is supposed to be put online at some point, but it's all in Hebrew (except for Lorelle's lecture), so here is a quick overview of what was said and done:
  • Lorelle was great. Her lecture was similar to the
... View Post
Page 1 of 212