Currently Browsing "WordPress Wednesdays"

WordPress Update: WP 3.4.2 Has Been Released

Posted by on

This isn’t a Wednesday, but it’s time to talk WordPress anyway: WordPress 3.4.2 has just been released, and it’s time to do some upgrades! WP 3.4.2 is a maintenance and security update, so although it won’t add any nifty new features to your site, it’s important as it fixes a bunch of issues that have been identified since… more »

WordPress Wednesday: Customizing Comment Output

Posted by on

The output for WordPress comments is generated by using the wp_list_comments() function, but actually editing the markup used by the comments is a little tricky. If you needed to add, say, an extra <div> to get your design to work, you’ll find that there isn’t actually a theme file you can edit. Here is a handy snippet I ran… more »

WordPress Wednesday: How to Import a Too-Large Database Backup

Posted by on

This week’s WordPress Wednesday is short and sweet, but covers a pretty big issue. Recently I had to import a very large SQL database backup from a WordPress site; so large, in fact, the import tool in PhpMyAdmin was unable to run the import without timing out. Enter the BigDump.php script, a staggered SQL database importer. The BigDump script… more »

WordPress Wednesday: Setting Up Month Archives to Only Display Custom Taxonomy

Posted by on

This week’s WordPress Wednesday is a bit convoluted, but is the product of a problem I ran across on a recent project. The blog I was building required that the posts be divided and displayed in two separate groups. This was accomplished by using a different custom taxonomy for each group of posts; that way, each could use a regular… more »

WordPress Wednesday: Excluding Categories from the_category();

Posted by on

In this week’s WordPress Wednesday, we’re covering a simple way to exclude categories from the_category() tag’s output in your themes. On a recent project, I not only wanted to make sure the ‘Uncategorized’ tag didn’t display; I also needed to hide two additional tags that were doing some heavy-lifting in the background, but didn’t need to be displayed on the… more »

WordPress Wednesday: Displaying Random & Related Posts

Posted by on

In this week’s WordPress Wednesday, we’re going to cover two little code snippets that can encourage readers to check out other posts on your blog or site: one to display a list of related posts, and another to display a list of random posts.

Related Posts

To display a list of posts related to the one currently being displayed, you… more »

WordPress Wednesday: Displaying the ‘Most Commented’ Posts

Posted by on

In this week’s WordPress Wednesday, we’re going to cover how to display a list of the most commented posts on your blog. This can be a handy way to promote your blog’s more popular content, and encourage further discussion. To display your blog’s most popular posts, you will first need to create a new query that gets the most commented… more »

WordPress Wednesday: Using the Code Freeze Plugin for Website Maintenance

Posted by on

A new (to me) plugin was recently featured on the website WP Beginner: Code Freeze. The idea is simple: when the site you’re working on has many authors and needs to undergo major maintenance or a migration, it can be tricky to inform all of the people involved in the site that it should not be edited for… more »

WordPress Wednesday: Debugging Your WP Site

Posted by on

Errors in your WordPress template code can cause all kinds of problems. In this week’s WordPress Wednesday, we’re going to cover a couple of options for tracking down and fixing those errors. WordPress has a built-in WP_DEBUG option that can be set in your wp-config.php file. The option is set to false by default; to turn it on, update… more »

WordPress Wednesday: Using the_date() vs. the_time()

Posted by on

In this week’s WordPress Wednesday, we’re going to cover the difference between WP’s the_date() and the_time() template tags. As a default, most WordPress themes will use the_date() with each post, to display when the post was written. At Stem, when we use WordPress as a CMS, we often use the posts as news items. However, when two posts are… more »

Legal FAQ Collections