Stay Logged in to WordPress
I work from home so can afford to leave tabs open for each of my WordPress sites. That way I can jump on anytime and update or add new content very quickly. The problem I kept running into is that WordPress automatically logs out users after 48 hours. Which means I have to log back in every day even when it’s not necessary. So I needed a way to stay logged in to WordPress indefinitely. Fortunately WordPress is very flexible and easy to customize, and the login duration can be changed via several different methods.
Subscribers: Update Your Feed URLs
To our feed subscribers. In case you haven’t heard. Feedburner is dead man walking. As a result, we changed our RSS and Atom feed URLs to host them directly at DigWP.com. So if you want to continue getting our awesome WP-related content delivered to your feed reader, take a moment to update your feed URLs. Our new (and permanent) feed URLs:
Visit the DigWP Archives for more feed options.
How to Disable Embeds for Any Specific URLs
Quick tip: how to disable embeds for any URL(s). The other day I was adding URLs to a draft post in WordPress. Some of the URLs were for Twitter tweets. Checking a preview of the post on the front end, I was surprised that WordPress had automatically embedded the actual tweet in place of the URL. After a few minutes searching for a way to disable the automatic embedded tweet, I remembered about WordPress oEmbed (now referred to as Embeds), which I’ve actually written about in several tutorials. Turns out the solution is dead simple.
How to Add Custom Code to WordPress
There are many books and tutorials that share useful code snippets for WordPress. For example, you can find hundreds of custom functions right here at DigWP.com. You can also find them in my WordPress books, tutorials, and code snippets. For many code snippets and custom functions, the usage instructions will say something like:
Migrating Book Accounts
Heads up! We’re migrating all book accounts to the new bookstore at Perishable Press Books. This will make it easier to manage everything under one roof. To transfer your account to the new site, send a quick email and let us know 1) the site/URL where you purchased the book (e.g., DigWP.com), and 2) your registered username or email address. Thank you!
New Plugin: Simple Download Counter
Super pumped to announce two new plugins: Simple Download Counter and Simple Login Notification. The first is a lightweight yet powerful way to manage and count downloads. The second is a tiny plugin (only 20 KB!) that sends an email alert whenever an admin-level user logs in. Both of these plugins are lightweight, fast, 100% FREE and open source :)
New Plugin! Simple Ajax Chat Pro 😎
Launching my latest WordPress plugin: SAC Pro! Unlimited chat forms with tons of great features and no 3rd-party service required (most/all other chat plugins require 3rd-party service). Read the official launch post and get SAC Pro »
Database Tip: Clean Up User-Agent Data
I just finished up my latest book, Wizard’s SQL Recipes for WordPress. And it’s packed with over 300 time-saving code snippets for managing and optimizing your WordPress database. For example, one of the recipes from the book shows how to delete unwanted user-agent data from the WP comments table. This is an easy optimization step that can help to free up some precious disk space.
WPCodeBox – Code Snippets Done Right
Discovered an awesome code snippets plugin called WPCodeBox. There are plenty of code-snippet plugins out there, but this one goes above and beyond with features like cloud-based storage, a growing snippets repository, and a condition builder to control the location and timing of any code snippets. Check it out!
New Book! Wizard’s SQL Recipes for WordPress
Excited to launch my new book: Wizard’s SQL Recipes for WordPress. Optimize and manage your WordPress database. Complete chapter on optimizing performance. Over 300 time-saving recipes. Level up your database skills!
How to Disable Gutenberg Styles on the Frontend
By default the Gutenberg Block Editor loads its default CSS/stylesheet on the front-end of your WordPress site. This is fine for most cases, but there may be situations where you want to disable the Gutenberg styles for whatever reason. For example, my free WordPress plugin, Disable Gutenberg, enables users to disable the Gutenberg Block Editor and restore the Classic Editor. Included in the plugin settings is an option called “Enable Frontend” that lets users enable or disable the Gutenberg CSS/styles as desired. This quick DigWP tutorial explains programmatically how to disable Gutenberg styles on the front-end.
Happy 12th Birthday DigWP!
Digging WordPress serving the community online since May 27th, 2009 :)
BBQ Pro Review
Thanks to David McCan over at WebTNG for his in-depth review of my WordPress firewall plugin, BBQ Pro. It’s a pleasure to read and packed with plenty of awesome screenshots :)
Interview at ThemeIsle!
Thank you to the fine folks at ThemeIsle for the great interview. Always a pleasure talking about my work, WordPress, web dev and security :) Cheers!