DiggingIntoWordPress

by Chris Coyier & Jeff Starr

DIY Popular Posts

Posted by on

Over at my code snippets site, I keep track of the most popular posts and display a list in the sidebar. It's an easy way to highlight the site's best content and share top snippets with visitors. There are numerous plugins available for displaying your site's popular posts, but they tend to be overkill and/or employ weird algorithms that are just unnecessary and not always accurate.

For example, a lot of plugins and techniques calculate popular posts based on number of comments. These days I'm just not sure if that's a relevant measure of popularity. Some sites have comments disabled, and other sites receive very few comments in general, so going the comment-count route just doesn't work.

What I wanted was a simple way of counting hits and displaying a simple list of the most popular posts. This DigWP tutorial explains how to do it with two easy steps.

Dashboard Widgets Suite

Just launched my latest WordPress plugin, Dashboard Widgets Suite. It provides a bunch of awesome Dashboard widgets that I use on my own sites. Widgets include User Notes, Debug Log, System Info, Social Media, RSS Feeds, Custom Menu, and even a widget to display any other WordPress/theme widget, right there on your Dashboard.

Disable Open Sans Google Font on Frontend

Posted by on

Working on the 2020 theme for my book, WordPress Themes In Depth, I noticed that WordPress was including a stylesheet from the Google API. Closer examination revealed that the styles were adding the Open Sans font via Google Fonts. The font itself is great, but I could not figure out where/how/why it was being added to the markup. This quick post explains what was happening and how to disable it.

How to Include Styles in Child Themes

Posted by on

This DigWP tutorial explains the "new" way to include parent stylesheets in Child Themes. I put the word "new" in quotes because the technique actually has been around for years, but there are many developers and designers who still use the old @import way of adding parent styles. This tutorial is for people who may be unfamiliar with using WordPress’ enqueue functionality for Child Themes. Here you'll find copy-n-paste techniques, examples, caveats, and numerous resources. Basically everything you need to know about including styles in your Child Themes.

Digging Into WordPress Version 4.4

New version of Digging Into WordPress now available! The update is current with WordPress version 4.4, and is a FREE download for everyone who owns the book.

WordPress Experts Discuss Calypso

Insightful roundup of WordPress experts sharing their insights on WordPress.com's new open-source admin interface known as Calypso. Great post that explains what it is, what it does, how it works, and what developers (including myself) think about it.

Tips to Keep WordPress Secure

Posted by on

With each passing day, strong security becomes more important. This article explains some ways to keep WordPress secure while improving the overall security of your WordPress-powered site. Most of the tips provided here are practice-based security steps that require no plugins or hacks. The idea here is that you don't need to make changes to any code, or modify WordPress in any way in order to maintain strong security. These are security steps that most any WordPress user can use to help protect their site and keep WordPress safe and secure.

Black Friday Sale!

Get any of my books -- Digging Into WordPress, WordPress Themes In Depth, The Tao of WordPress, or .htaccess made easy -- for 30% off this weekend. Use coupon code BLACKFRIDAY at Perishable Press Books. Discount code also works for any Pro plugin at Plugin Planet!

Poll: How Many Plugins is Too Many?

Posted by on

A frequent question in the WordPress community is "how many plugins is too many?" I've heard responses that vary from "zero" to "no limit, man". So in this quick post, you can check out some screenshots of WordPress-powered sites running lots of plugins, and then cast your vote!

Pro Version of Block Bad Queries

Posted by on

BBQ Pro is the premium version of my free security plugin, Block Bad Queries. BBQ Pro helps keep your WordPress-powered site safe and secure by blocking bad URI requests. This helps to conserve precious server resources like memory and bandwidth. BBQ Pro runs silently in the background, checking all incoming traffic and blocking any URI requests that contain nasty stuff like eval(, base64_, and other malicious nonsense. It’s advanced firewall protection that’s fast, flexible, and fully customizable.

Interview!

Probably the most in-depth interview I've done so far, includes lots of discussion about Digging Into WordPress, my other WordPress books, plugins, themes, web development, and everything in between. Thanks to Bauke Roesink for the opportunity!

Code is poetry