DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Yearly archives: 2010

URL Sentences in WordPress

WPCandy is back under Ryan Imel and it’s been loaded with good stuff lately, including this great run-through of how to use Chris Shiflett’s URL sentences idea in WordPress.

digwp.com/thinks/this-is-a-cool-idea

Update: (404 link removed 2014/11/02)

Pimp your wp-config.php

Posted by on

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.

Update: (404 link removed 2014/08/07)

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.

Easy Comment Management via SQL

Posted by on

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.

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.

Code is poetry