solostream

Archive for November, 2007

Changing where WordPress saves your uploaded images and files

| November 29, 2007 | 1 Comment
In my previous post on using thumbnails with WordPress' custom fields feature, I explained a way to change where WordPress saves images and files you upload from the Write Post/Page page. Generally, any images or files you upload while ... View Post

Giving each comment its own link in WordPress

| November 28, 2007 | 4 Comments
Being able to link to specific comments in your WordPress blog could be very handy. Good comments can really add a lot of value to a blog, and you or others may want to refer to specific comments in your posts by linking to them. In general, comments can be linked to, but to ... View Post

Images, thumbnails and custom fields in WordPress

| November 26, 2007 | 21 Comments
I've learned a lot about custom fields since I posted about programming thumbnails into your WordPress theme with custom fields, thanks to everyone's comments here and on weblog tools collection, who referred to my post. I decided to collect all the links posted in the comments here so that we all have ... View Post

Giving each WordPress post a thumbnail, and display the thumbnail on the home page

| November 21, 2007 | 193 Comments
// You may encounter situations where you need to automatically display a thumbnail or image of some kind that will link to posts. Here's an example of this kind of situation: ... View Post

User Interface Icons in three different sizes

| November 12, 2007 | 1 Comment
User Interface Icons.com has released 140 very pretty icons in .png format, and in 3 different sizes: 48x48 pixels, 32x32 pixels, and 24x24 pixels. Definitely worth adding to your icon arsenal. User Interface Icons.com View Post

Hard-coding an SEO friendly title in the WordPress header file

| November 12, 2007 | 5 Comments
The title I am referring to here is the title that appears in the top bar of your browser, and is in betweeen <title></title> tags in your code. Apparently, to make it more SEO friendly, the title of the post or article should appear before the title of your blog, but generally themes have ... View Post

Display recent posts in WordPress sidebar

| November 11, 2007 | 65 Comments
Here's a bit of code to put in your sidebar to display the most recent posts on your blog: <?php $myposts = get_posts('numberposts=10&offset=1'); foreach($myposts as $post) :?> <li><a href="<?php the_permalink(); ?>"><?php the_title();?></a></li> <?php endforeach; ?> You can set the number of recent posts to appear on the first line of code where it says numberposts=10 - change the 10 ... View Post

Almost 1% of all web pages are powered by WordPress!

| November 9, 2007 | 6 Comments
Matt Mullenweg, the founder of WordPress and Automattic, spoke at Blog World Expo on blogging, open source and WordPress. Here are some highlights from his speech, and interesting tidbits about WordPress (from News.com):
  • Matt says that blogging
... View Post

Recent Comments code snippet

| November 9, 2007 | 37 Comments
This code is from the Blog Oh Blog theme, and displays recent comments in the sidebar without the need for a plugin: <?php global $wpdb; $sql = "SELECT DISTINCT ID, post_title, post_password, comment_ID, comment_post_ID, comment_author, comment_date_gmt, comment_approved, comment_type,comment_author_url, SUBSTRING(comment_content,1,30) AS com_excerpt FROM $wpdb->comments LEFT OUTER JOIN $wpdb->posts ON ($wpdb->comments.comment_post_ID = $wpdb->posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password ... View Post

Display posts from specific categories on a Page

| November 8, 2007 | 95 Comments
You may want to display posts from a specific category on the homepage or other pages of your site. For example, you might want to have a box that displays the latest three posts from your News category, or have links to your latest podcasts.... View Post
Page 1 of 212