Like the blog? Get the book »

What’s the best Caching Plugin?

Really nice article running down the major caching plugins, including some ones I have never heard of. I'm a fan of W3 Total Cache myself, having tried about four of them on various sites. I like the CDN integration, the fact that it doesn't change your URLs, and that it combines file and database caching. Not to mention it is actively maintained.

Most interesting are the options that turn out to be worse that no caching at all.

CSS-Tricks does nearly 2.5 million pageviews a month and can run OK without caching, it's just much faster and surge-protected with it on.

eReaders and Digging Into WordPress

eReaders and Digging Into WordPress

When the iPad came out I was able to convince myself that it really is my responsibility as a publisher of a digital book that I should have this device for testing.

Call a Widget with a Shortcode

Call a Widget with a Shortcode

We covered how to run a shortcode in a widget. But what about inserting a widget with a shortcode? I recently had this situation come up.

I had a single page where I just wanted to be able to chuck in a widget without the whole rigmarole of creating a special widgetized area and probably a custom page template for that widgetized area and so forth and so on.

I wanted to just put [widget widget_name="my_widget"] in the pages content and have that widget pop in. Turns out it wasn't as easy I wanted it to be, but it's not that bad...

WordPress Custom functions.php Template, Part 2

WordPress Custom functions.php Template, Part 2

In a recent post, we show you how to clean up and enhance the functionality of WordPress with a custom functions.php template. In that post, we explain how using a custom functions.php template can speed up development while optimizing many key aspects of WordPress. In this post, we deliver another prime collection of 15 custom functions to enhance your WordPress site. These functions provide all sorts of useful functionality, including stuff like:

Mobile Version of DigWP.com

Just to let you know about the new mobile version of the site. This makes it much easier to visit on many mobile devices. Shouts to mobify.me for making it happen.

DigWP.com on the iPhone at al

wpSEO vs. All-In-One SEO Pack

wpSEO vs. All-In-One SEO Pack

The most popular SEO plugin for WordPress is certainly the All-In-One SEO Pack. It's on just about every plugin roundup you'll ever see. It's free. It works well. But it's not the only kid on the block. One of the guys from WP Engineer has a competing product: wpSEO. I've now used them both. I thought a head-to-head comparison would be useful for people to make their own decisions.

Database Powered CSS in WordPress Themes

“A popular ability in WordPress themes is to add custom CSS driven by options. This brings up a common question, how should the theme inject custom CSS? I’ll outline three different approaches on how to do this.”

Remove/Replace Content from the WordPress Database

Remove/Replace Content from the WordPress Database

A useful tool to have in in your WordPress toolbelt is the ability to quickly and easily search for, find, and replace specific strings of text directly from the MySQL database. We can do this by entering SQL queries either directly or through one of those handy interface applications like phpMyAdmin, which seems like one of the most prevalent PHP applications on servers today.

Display “Time Ago” for Posts or Comments

Turn regular datestamps into more human-readable text (e.g. 22 minutes ago) via a built-in WordPress function.

Custom Post Types in WordPress 3.0

Still confused about these "custom post types"? We already have categories for Posts and we can use various techniques like post_class to target certain posts with CSS and do different styling. We can also use conditionals to treat posts in different categories completely differently. Why is this going to help?

The big difference is that it actually adds sidebar links to the Admin side specifically for these new types. And beyond that, you can actually declare custom data types for different types. Instead of just "Add Post" and "Add Page", you can have "Add Real Estate Listing", which only will ask for "Property Name", "Description", "Price", and "Sale Status". Powerful stuff!

Nice Way to Encourage Plugin Upgrading

Nice Way to Encourage Plugin Upgrading

A while back we talked about upgrading plugins. Specifically the All-in-One SEO pack and the controversy surrounding how it turns it self off after (some) updates. This is what that plugin looks like when it needs an updating:

.net Mag, The web pro’s guide to WordPress

I just got my hands on issue #199 of .net Mag. I did an article for it on WordPress, and it's on the cover!

Photo of .net magazine

They did use the wrong W for the cover, but I'm sure they got enough flack for it they won't mess that up again =). This is probably practically an old issue for UK folks, but big bookstores in the U.S. I find do tend to stock this magazine (Sold as "Practical Web Design" in the U.S.) but always a few issues old, so I bet you could find it around about now.

Editor's note: 404 link removed.

WordPress functions.php Template with 15 Essential Custom Functions

WordPress functions.php Template with 15 Essential Custom Functions

When designing WordPress themes, I always add a common set of custom functions to the theme’s functions.php file. This speeds up development time because I don’t have to hunt for and individually copy the same slew of functions for every theme. I just drop in a copy of my functions.php template and build up from there. This takes care of all those little things that always need to be done for every theme. You know, things like:

Declare Multiple Widgetized Areas in WordPress

Declare Multiple Widgetized Areas in WordPress

Have a bunch of different areas you wish to declare as a widgetized area? Save repetative code by creating a quick array of their names, then loop through that array calling the register_sidebar() function on each one. Elementary PHP stuff here, but hey, it just saved me quite a few lines of code in a widget-heavy theme I am working on.

Advertise Here

Sign up for the newsletter!

Never spam, only good stuff

Recent posts

Loading...

Random posts

Loading...
© 2009–2017 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace