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. Sound good? Let's dig in..
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 widget, right on your WordPress Dashboard.
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.
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. Let's dig in..
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.
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.
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.
Check out Torque Magazine's recent interview roundup for some insightful and inspiring words from 10 world-class WordPress developers, including yours truly!
A frequent question in the WordPress community is "how many plugins is too many?" We've heard responses that vary from "zero" to "no limit, man".
So for this DigWP Poll, I figured it would be interesting to see what people think about it. To give you a better idea, I've posted some screenshots of sites running LOTS of plugins. So check ’em out and then cast your vote!
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
base64_, and other malicious nonsense. It’s advanced firewall protection that’s fast, flexible, and fully customizable.
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!