Weekend QuickTip: Feedburner URL in Header.php

One thing I notice a lot of WordPress blogs forget to do, is change the default RSS Feed URL that comes standard with WordPress, to their new Feedburner Feed URL. This means your visitors maybe subscribing to the wrong feed and your subscriber count may be wrong!

Solution

If you’re using Feedburner, check your header.php file and makes sure all your RSS Feeds are pointing to the right URL.

Weekend QuickTip: Echo Quicktags in Template Files

Ever wanted to insert a quicktag into one of your theme’s templates without having to add it via a post or page from the admin? You may not know it, but WordPress has provided a template tag to do just that. Simply insert <?php echo do_shortcode('[quicktag]'); ?> into your template to use any quicktag currently installed on your blog, whether it be for galleries, forms, or any other tag that comes bundled with a theme or plugin. Enjoy!

Weekend QuickTip: Post Meta in Sidebar

Ever wanted to include additional data from your post’s custom fields in the sidebar of your page? Almost every theme utilizes the sidebar.php template, but if you’ve ever tried to use the standard method of calling custom field data in the sidebar, you’ll know that it doesn’t work like you’d expect it to. Here’s the workaround. Read more…

Weekend QuickTip: Two Sidebar Templates

Ever had a layout with two or more sidebars? The standard convention is to put both sidebars inside sidebar.php if they’re beside each other, or one in header.php and the other in the standard sidebar template. However, there’s a quick little WordPress trick that actually allows for two separate sidebar templates.

You’ll need two files: sidebar.php and sidebar-right.php. The first will contain the first sidebar on the left of the page, and the second, obviously, contains the area for the right of the page.

Now, in your template files, you can use the <?php get_sidebar(); ?> function to call the left sidebar, as usual. But now that you’ve added a second file, <?php get_sidebar('right'); ?> can be used to call the “right” sidebar file from the template. Note: the “right” file is the only file that seems to work; ’sidebar-left’ will not.

Weekend QuickTip: Standardize Blogroll Formatting

One annoying nuance to many WordPress theme developers is how the bookmarks list is formatted by default in WordPress. While all the other lists - categories, pages, and archives - display in a nice, neat, one-level un-ordered list, it seems that the bookmarks tag does it differently. By using an extra parameter within the tag, we can easily fix this problem. Read more…

Weekend QuickTip: Display a Comment’s Number in a List

Ever wanted to show each comment’s position in a list without using an ordered list (<ol>) to do it? Unfortunately, WordPress doesn’t include a function do do this. However, by using a simple PHP trick, we can accomplish this. Read more…