Demo: Thumbnail Archives (aka “Horizontal Archives”)

Roll your own!

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 EditorEnable 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” Errorwp-config.php - Secret KeysUpgrading 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 DatabaseSubscribe to Comments PluginDuring 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 APISecuring 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 GuideDisable GutenbergGutenberg 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 GutenbergDisplay 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 RecipesGutenberg 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 GutenbergGutenberg WordPress PluginThere 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 SecureWordPress 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 ShortcodePopular 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 RedesignDigWP Redesign v4.0After 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!DigWP Theme UpdatesQuick 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!)WordPress Post Navigation ReduxFor 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 AreaPolluted WP 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 ToolbarWordPress 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 NoticesComplete 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 PostsDIY 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 FrontendOpen Sans Google FontWorking 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 ThemesWP Enqueue StylesThis 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?Too Many PluginsA 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 - 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 [...]Bring Back Single-Column DashboardAfter updating to WordPress 3.8, the single-column Dashboard disappears with no options to bring it back. For years, users could set the number of columns in the Dashboard to suit their needs, but apparently some brilliant decision was made to just remove it. Personal opinions and feelings aside, here is [...]Getting WordPress Background Updates to WorkThe new background updates feature in WordPress 3.7 is great for security and productivity, but it can be tricky getting it to work. This post explains how the same technique posted here also worked for enabling background updates.Book Sale and GiveawayTo celebrate the new design and book update, we're giving away 5 free PDF copies of Digging Into WordPress and having a Fall Book Sale!Book Update: Version 3.7Digging Into WordPress update! Version 3.7 of the book is updated for WordPress 3.6 and 3.7 (beta). As with the previous 10 updates, everyone who owns the book gets the new version for FREE.Site RedesignDigging Into WordPressWell sort of.. more like a design "refresh" really. DigWP.com launched in May 2009 with its first (brown) design. Then later that year the site was redesigned for the launch of the book. The second (blue/grey) design was well-suited for the site and a natural progression from the first design, [...]DIY Alternative to WordPress SEO Plugins[ Basic WP SEO ]Most SEO plugins have way too many bells and whistles for my simple needs, so I wrote a little snippet that's meant as a drop-in, DIY replacement for the big WordPress SEO plugins. If you want a lot of features and options, then try Yoast's awesome SEO plugin or the [...]New Book! The Tao of WordPressI'm excited to announce the launch of my 3rd book, The Tao of WordPress! Every page of The Tao of WordPress is carefully distilled, refined, and focused on WordPress. I wrote this book for beginners, students, designers, admins, enthusiasts, and anyone who wants to rock their own WordPress-powered site.Post Format Archives WidgetCustom Post Formats enable you to customize your asides, images, and other types of posts. Doing so is a great way to bring character and definition to an otherwise amorphous collection of regular posts. Then, as your custom-formatted posts grow in number, your site will feature uniquely styled archives for [...]Find the Perfect ThemeI've been working with WordPress for about 2 years now. I've set up dozens of websites for both myself and clients and finding the perfect theme has always been a bit of a chore. Don't get me wrong, I love that there are so many to choose from, but now [...]WebHostingBuzz GiveawayWe've teamed up with WebHostingBuzz to present you with a superb hosting giveaway for 2013. WebHostingBuzz is providing the following great prizes: three lucky winners will pick up an entire year of FREE hosting that includes 750 GB Disk Space, 15,000 GB monthly Bandwidth, a free domain name and more.Display Blog Posts on any Page (with navigation)By default, your latest WordPress posts are displayed on the home page, with older posts available via post navigation on /page/2/, /page/3/, and so on. In this DigWP post, we'll explain how to display your blog posts on any static page using a custom WP_Query loop that works beautifully with [...]Best of DigWP.comChris and I launched DigWP.com back in 2009, and since that time have posted many WordPress tips, tricks, and techniques (well over 300 posts!). So as 2013 fast approaches, it's a great time to look back at the best of DigWP for each year, 2009 through 2012 — 4 years [...]Plugins & Tools for WordPress DevelopersI recently spent some time updating my growing collection of WordPress plugins, and during the process discovered some great resources for my WP "developer toolbox." These are some super-useful plugins and tools for debugging, logging data, working with translation files, analyzing performance, and making otherwise difficult tasks efficient and manageable. [...]Elegant Themes Giveaway!To celebrate the season, Elegant Themes is giving away three free memberships to their entire theme library — an impressive collection of 78 awesome WordPress themes yours for free!v3.4 Printed Books Now Available!Printed books in the house! The new version-3.4 printed books are now available and better than ever, updated for WordPress 3.4 with new content, refreshed graphics, and new features galore. Each book is printed in full-color, with new extra-thick covers and slick spiral binding for laying it flat while reading. [...]Adoption Program for Abandoned PluginsOne of the the most convenient things about WordPress is the abundant 21,834+ free plugins available in the WordPress plugin repository, but how many times do you run into the scary warning at the top of the page, "This plugin hasn't been updated in over 2 years. It may no [...]Customizing WordPress FeedsWordPress feeds enable your visitors to subscribe to your content for use in their favorite feed-reader. For example, subscribing to the main-posts feed and/or the comments feed is a great way for your readers to stay current with all the latest news and content from your website. With WordPress, you [...]DigWP Version 3.4 UpdateDigging Into WordPress version 3.4 is here! The DigWP v3.4 update covers WordPress 3.4 (Green), with new and revised content throughout the book. This is the book's 10th Edition, making version 3.4 more fluid, focused and current than ever. It's also a free update to everyone who owns either print [...]All-AJAX Theme UpdateJust a heads up! Chris' awesome All AJAX theme is now updated to version 2.0, featuring a whole slew of great improvements, tweaks, and bug fixes..Notification List for New BooksJust a quick note: we're currently updating the book to version 3.4, and will be ordering a fresh batch of printed books soon. In the meantime, we're setting up a notification list for people who want to know when the new books are back in stock.How to Setup Secure Media UploadsAs discussed, it's important to protect your site by setting proper file permissions on the server. This can be tricky for certain directories such as /uploads/, /upgrade/, and /backups/, which need to be writable by the server in order for things like uploads, upgrades, and backups to work.