DiggingIntoWordPress

by Chris Coyier & Jeff Starr

Author: Jeff Starr

How to Remove Items from the Toolbar

Posted by on

The WordPress Toolbar makes it easy for plugin and theme developers to add links and other items. This is great news if you find the added links useful; otherwise, the additional links may be more of a nuisance, cluttering up your current workflow. For example, the database-backup plugin UpdraftPlus adds an "UpdraftPlus" link. Some users probably think this is awesome, but for my own sites it's just not necessary, and is something I would like to remove. So for this DigWP tutorial, we'll use the UpdraftPlus Toolbar link to demonstrate how to remove unwanted items from the WordPress Toolbar in general.

Note that the techniques provided in this tutorial can be used to disable ANY unwanted Toolbar items, even those that may seem impossible to remove.

Complete Guide to WordPress Admin Notices

Posted by on

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.

DigWP Book Update!

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.

DIY WordPress 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!

Code is poetry