As you work in the WordPress Admin Area, you'll undoubtedly encounter "admin notices" that let you know about errors, updated settings, required actions, and so forth. Most default admin notices are provided by WordPress out of the box, but it's up to plugins and themes to provide any custom notices that may be required. This DigWP tutorial digs deep into WordPress admin notices and explains how to implement, customize, and everything in between.
Digging Into WordPress is updated for WordPress version 4.5. The new version is a FREE download for everyone who owns the book. This is the the book's 18th update, which means that some people have received 17 free updates over the past 5 years! Log in to the Members Area to download the latest version, or if you don't own the book you can get it here.
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.
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.
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.
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?" 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!