Code: Display Categories and Archives in WordPress

There has been some debate by bloggers over the past few years as to the value of displaying your archives, with some bloggers going as far as to not even display their categories!    The general idea is that the use of recent posts, popular posts, and a built-in search feature will allow your readers to find what they are looking for.

Well, I for one still believe that categories and archives should be displayed on blogs.   If you’d like to do the same for a WordPress blog, here is the code you’ll want to use.   For your convenience, we’ve provided two options for each:  traditional display and drop-down menus.

Simply paste the WordPress code below in your sidebar.php file where you want the category or archives to display: [Read more...]

Code: Add Recent Comments and Top Comments to WordPress

Throughout our WordPress code series, we’ve been providing a number of code options for designers who want to use actual code rather than using the widget system built into WordPress.

In this post, we’ll be providing the code for creating both recent comments and top comments to the sidebar of your WordPress blog. [Read more...]

Code: Displaying Updated Posts in WordPress

In the past we’ve discussed how to add recent posts to your WordPress blog manually using code, but for blogs that are regularly updating older posts (there are a surprising number of these), here is some code that you can instead use to only show the most recently updated posts in WordPress!

Here is the code you’ll want to place in your sidebar.php file where you want the updated posts to display: [Read more...]

Code: How to Display Recent Posts in WordPress

Although most current WordPress installations include a widget for displaying recent posts, there are quite a few people that prefer to get their hands dirty and manually code things.   If you’d like to learn how to display recent posts in WordPress, you’ve come to the right place!

Here is the code you’ll need to display recent posts.  Simply copy the following code and place it in your sidebar.php file where you want the recent posts to be displayed! [Read more...]

WordPress Tutorial: Building a Print Stylesheet

As the internet continues to grow as a source for news and information, there is a growing need for websites and blogs to be printer-friendly.  Whether you run a news site, a recipe blog, or simply offer your opinions to your readers, it is inevitable that people will want to print your content. 

Unfortunately, many web designers aren’t including separate stylesheets for printers with their designs.  As a result, we decided to write this tutorial to explain how to create a print stylesheet.   Due to most of our readers being on WordPress, we will place our focus there, though this can be adapted for just about any blogging platform! [Read more...]