WordPress Widgets

This weekend, I decided to edit my custom sidebar code to be compatible with WordPress Widgets, which is:

designed to provide a simple way to arrange the various elements of your sidebar content (known as “widgets”) without having to change any code.

WordPress v. 2.2 has the capability built into the core code. Earlier versions [...]

Internet Explorer Horizontal Scrollbar Covers Last Line

Oh My Friggin Goodness. Internet Explorer makes me so mad.

Just to see how things looked in IE, I randomly checked a blog post that contained code, and one of the lines of code was obscured by a horizontal scrollbar! I compared the post in Firefox. It turned out the particular line of code was [...]

How to Add Commenting to WordPress Page Template

If you want to enable commenting on a WordPress page (as opposed to a post), you would need to add the following in the theme’s page.php file, which is the default template for pages:

<?php comments_template(); ?>

If you created a custom template file, you would need to put the code in that file also.

[...]

How to Switch Title Tokens in WordPress

I wanted to switch my blog’s title tag to go from:

Thu Tu’s Blog > Post Title

to

Post Title | Thu Tu’s Blog

It turned out that it wasn’t as simple as switching the tokens around in the theme’s header.php file.

I did a search and found the solution here.

When I copied and [...]

My Photo Feed for Google Photos Screensaver

Yesterday, I found out in a Coppermine forum thread called RSS feed of pics for Google Screensaver that Google Photos Screensaver can show photos from a feed. This appealed to me because I currently use a photo screensaver but it is limited to files on the hard drive. By having a feed from my gallery, [...]