Demo: Grid Archives
Roll your own!
Display Your WordPress Site Statistics: Complete GuideJust to be crystal clear, this post is all about displaying basic statistics about your site, not about your visitors. So if you are thinking something like, "duh, just use Google Analytics or whatever," then imagine a giant buzzer sound telling you that you're incorrect. Sure, Google Analytics gives you [...]Official Resources for the Gutenberg Block EditorJust a quick post to share some recommended useful resources for anyone working with the new Gutenberg Block Editor. Our book Digging Into WordPress now links to this post, so readers can learn more and dive deep into Gutenberg. Or just bookmark for future reference. What does that mean? It [...]How to Selectively Enable Gutenberg Block EditorPreviously, we covered numerous techniques to disable Gutenberg. For example, you can disable Gutenberg on specific post types, user roles, post IDs, and so forth. But what about doing the opposite and conditionally enabling Gutenberg? For example, if Gutenberg is disabled by default, you could then selectively enable it on [...]About the “Warning! WordPress Encrypts User Cookies” ErrorUpgrading from older versions of WordPress is designed to go without a hitch, but depending on the setup and the two versions involved, you may encounter some hangups along the way. For example, if you are upgrading from a version of WordPress older than 3.0, eventually you may encounter the [...]Subscribe to Comments Plugin: Delete Data from DatabaseDuring the latest site redesign, I removed the Subscribe to Comments plugin. Wisely, the plugin does not delete any subscriber information from the database. So as a part of the site's redesign slash clean-up, I wanted to export/save and then delete all subscriber information to decrease overall database size. After [...]Securing the WP REST APII think many WordPress users probably underestimate the amount of data that is made available via the REST API. Just about everything is available to anyone or anything that asks for it: posts, pages, categories, tags, comments, taxonomies, media, users, settings, and more. For most of these types of data, [...]How to Disable Gutenberg: Complete GuideGutenberg soon will be added to the WordPress core. This is great news for some, not so great for others. With 99.9999% (estimate) of all WordPress sites currently setup to work without Gutenberg, the massive changes barreling down the pike are going to affect literally millions of websites. And as [...]Display Custom Fields in GutenbergGutenberg is coming soon to your WordPress, whether you like it or not. Debate and drama aside, it's time that we start looking for practical ways to adapt current WordPress sites to the many imminent changes brought to us by G7G. One of these changes involves Custom Fields. Currently, and [...]Gutenberg Block RecipesI've been working on updating my collection of WordPress plugins for the imminent Gutenberg update. So far it has not required much time to learn, and the API is straightforward. It will however take significantly longer to integrate Gutenberg support into 20+ plugins. To help keep things organized, I will [...]Thoughts on GutenbergThere has been lots of discussion about the new WordPress "Gutenberg" project. Some people love it, some hate it, and most WP users probably have no idea about it. And that's too bad, because it means many changes will be required for thousands of WordPress plugins and themes. We're talking [...]Tips to Keep WordPress SecureWith 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 [...]Popular Posts ShortcodeIn my recent post, DIY WordPress Popular Posts, I share a simple, two-step technique for tracking and displaying popular posts on your WordPress-powered site. That post describes everything needed to fully implement DIY popular posts, but some folks wanted an easier (more convenient) way to display the list of popular [...]DigWP Site RedesignAfter rocking our site's previous design for nearly four years, it was time for a refresh. Actually complete overhaul is more like it, a top-to-bottom restructuring and streamlining of DigWP.com. Going into the redesign, the goal was twofold: 1) visually keep things as focused and clean as possible, and 2) [...]DigWP Theme Updates!Quick post to announce updates for all DigWP themes, free and exclusive. All of our themes are current with the latest version of WordPress, and include lots of new features, bug fixes, and enhancements. 100% ready for action :) The free themes are all free and open-source for everyone, and [...]WordPress Post Navigation Redux (New Tags!)For years WordPress post navigation has been possible thanks to a flexible set of five functions, including posts_nav_link(), next_post_link() and next_posts_link(). These navigational functions continue to work great in many WordPress themes, but there are newer, even more flexible functions available to theme developers. Introduced in WordPress 4, these new [...]Stop Ruining the WordPress Admin AreaI guess what I was trying to get at with my previous poll about too many plugins was the idea that a lot of WordPress sites that I see these days are just absolutely trashed in the Admin Area due to inconsiderate, poorly planned plugins and themes. For users, a [...]How to Remove Items from the WordPress ToolbarThe 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 [...]Complete Guide to WordPress Admin NoticesAs 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 [...]DIY WordPress Popular PostsOver 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 [...]Disable Open Sans Google Font on FrontendWorking 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 [...]How to Include Styles in WordPress Child ThemesThis 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 [...]Poll: How Many WordPress Plugins is Too Many?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 [...]Pro Version of Block Bad QueriesBBQ 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 [...]SES Pro – Ajax Powered Email Signup FormsSES Pro is a premium email newsletter plugin for WordPress. It is 100% shortcode-based with Ajax-powered signup forms that can be displayed anywhere. There are no monthly fees or limits on the number of subscribers, how many emails you can send, or anything else. It’s just a lightweight yet full-featured [...]Book Giveaway!To celebrate Thanksgiving, we're giving away three copies of Digging Into WordPress! Winners will receive full access to the Members Area here at DigWP.com to download current versions of the book and all exclusive themes and bonus material.WordPress Themes In DepthSuper stoked to announce my new book, WordPress Themes In Depth! It covers the entire process of setting up, development, distribution, and everything in between. WordPress Themes In Depth is literally overflowing with over 450 pages of in-depth theme-building action. And it includes example themes and lots of project demos. [...]WordPress Backup and Restore Theme OptionsAfter taking the time to set a whole bunch of theme options, it's nice to be able to make a quick backup of your theme settings. Many themes have this functionality built-in, but for themes that don't, here is a plug-n-play snippet to create a "Backup/Restore Theme Options" page. You [...]H5 Theme UpdateTheme update! The H5 Starter Theme is all updated and afresh for your theme-building adventures. The previous version of H5 still works great, but there was a lot of room for improvement, especially with all of the new features and functionality made available in recent versions of WordPress. So now [...]Disable Default Dashboard Widgets in WordPressContinuing with tips for customizing the WordPress Dashboard, here is a look at one way to remove unwanted widgets and clean up the default WP Dashboard.DigWP Update – Version 3.8Digging Into WordPress update! The book is now current with the latest version of WordPress, 3.8 "Parker". The Parker update is focused primarily on improving the appearance of the Admin Area, along with the usual blend of bug fixes and enhancements. As with all DigWP updates, the new version is [...]