Like the blog? Get the book »

Yearly archives: 2010

Archive page 3 of 10
Pimp your wp-config.php

Pimp your wp-config.php

Easily, the most important file in your WordPress installation is the wp-config.php file. It serves as your site’s base configuration file, controlling key aspects of WordPress’ functionality and enabling WordPress to do mission-critical stuff like connect to the database. Without wp-config.php, WordPress simply won’t work. So whenever you install WordPress, one of the first things to do is pimp your wp-config.php with some custom WP configuration tricks.

Delay Loading of Print CSS

Peter Wilson walks us through making sure print stylesheets are loaded after the rest of the page is loaded, so they don’t hold up page rendering.

Editor’s note: 404 link removed.

Digg Technical Talks – Rasmus Lerdorf

Pardon my ignorance here, but Rasmus starts talking about latency and concurrent requests about 16:30. He then mentions “one line of code” installation of something that sounds like “aqua code cache” that gives WordPress a 3x performance boost in response time / number of transactions per second. Anyone knows what he’s talking about there, shoot a note and I’ll update this permalink with the info. He goes on to talk about much more hardcore-PHP-nerd WordPress optimization stuff.

The scoop via Joost Schuur:

Rasmus is talking about an ‘opcode cache’. It essentially caches the parsed PHP scripts in memory. That means PHP doesn’t have to read it from disk or even convert the humanly readable PHP script code into executable machine code (opcode). The one he’s referring to is APC, which is likely going to be included in the next big release of PHP. Xcache is another popular kind. I run it on my site and got about a 3x performance increase on page request server times, so the numbers add up. The W3 Total Cache WordPress plugin has the option of using Xache or APC to keep popular pages in memory via opcode caching.

Randomized Grid of Posts

Randomized Grid of Posts

I’m all about tinkering with different ideas to display posts with WordPress. After all, it’s just a bunch of data at our fingertips! WordPress makes it easy to output whatever we need. Not long ago we experimented with making a Thumbnail Based Archives. Now let’s have some fun and build a Randomized Grid Archives.

Easy Comment Management via SQL Queries

Easy Comment Management via SQL Queries

Here are some sweet SQL code snippets for easy comment management. Sometimes it’s easier to modify comment status and delete unwanted comments on a sitewide basis. Using a program like phpMyAdmin makes it so easy to do stuff like remove spam, close/open comments on old posts, enable/disable pingbacks for specific time periods, and so on. Just remember to backup your database before running any queries (just to be on the safe side).

Using Menus in WordPress 3.0

Using Menus in WordPress 3.0

The menu system in WordPress 3.0 was hotly anticipated. But perhaps unbeknownst to many average WordPress users, actually using this feature takes some coding work. In fact, even enabling the features take a bit of code. So if you have WordPress version 3.0, but don’t see the Menu item in your WP Admin Area (as shown in the Featured Image for this post), don’t worry. Until you implement the required code, most likely you’ll be seeing something like this:

WordPress Update: 3.0.1

Just a reminder that WordPress version 3.0.1 is available, so take a few moments and update your website. Staying current is one of the best ways to keep things running smooth, safe and secure. The new version addresses about 50 minor issues and helps to make WordPress 3.0 even better.

Amazingly, WordPress 3.0 was downloaded nearly 11 million times in 42 days. So HUGE congrats and thanks to the entire WordPress crew for an amazing piece of software.

WordPress E-Junkie Plugin

We use E-Junkie ourselves on this site to sell the book. This plugin brings to two together to theoretically make that process easier.

Editor’s note: 404 link removed.

DiW v3.0 Book News

DiW v3.0 Book News

We have been working diligently on updating Digging Into WordPress and finding the best print-on-demand solution. As we’ve covered before, the on-demand options we looked at previously left a lot to be desired. But thanks to your suggestions and ideas for book printing, there were many additional options to check out. So after sizing things up, we’re pleased to announce the following:

Thumbnail Based Archives

Thumbnail Based Archives

Here at Digging Into WordPress, we’ve attached thumbnail images to every single (non-link-style) post since day one. We started before WordPress 3.0 had the specific feature for thumbnails. We did it just by attaching a file path to the thumbnail image as a custom field. We clearly display each of those thumbnails in the design of the homepage and other various pages where it makes sense.

Optimizing WordPress Permalinks

Optimizing WordPress Permalinks

Configuring your WordPress permalinks is simple and only takes a second, but understanding what they are and how they work is key to setting up the best permalink structure possible. Your site’s permalinks are like the street address for your site’s web pages. They help both people and robots understand your site’s structure and navigate its contents. There is no “one magic permalink recipe to rule them all,” but keeping a few tips in mind makes it easy to optimize your WordPress permalinks. This DiW article shows you how..

Media Temple WordPress Hack

Media Temple WordPress Hack

It looks like Media Temple WordPress installs have been hit with a WordPress Redirect Exploit1. We got hit here at DigWP.com, but have cleaned things up and are taking steps to prevent it from happening again. This post briefly explains the hack, and provides some steps that you can take to remove the payload and get back on track.

GPL Showdown

GPL Showdown

If you missed the Matt Mullenweg vs. Chris Pearson debate live debate today, this is my wrap up:

WordPress Security Lockdown

WordPress Security Lockdown

This article is split into two parts for ez reference. First some information on the evil WordPress “Pharma Hack”, and then a recipe for protecting your site with a solid security lockdown. Choose your own adventure:

© 2009–2024 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace