Category: Tips & Tutorials
-
Configure wkhtmltopdf for Laravel Snappy on Homestead, Sail, Forge
Laravel Snappy depends on wkhtmltopdf, and the Composer wrappers are outdated. Here’s how to get set up with the latest version.
-
Keep MySQL Databases During Laravel Homestead Upgrade
This question has been documented about a million places around the internet with a variety of convoluted answers. How can we upgrade Laravel Homestead without losing our MySQL databases? Instead of writing your own mysqldump commands, or copying and pasting one from an internet stranger, there’s actually functionality for this built right into Homestead. If…
-
Remove WordPress Actions with Object-Bound Callbacks
Often, it’s very simple to disable a filter or action in WordPress. Core’s adherence, merit notwithstanding, to working in the global namespace meant many plugins and themes followed suit. So unhooking a function was as simple as: But as PHP has matured, plugin and theme authors are more often using modern structures and practices, like…
-
The Sterner Stuff Work-From-Home Starter Kit
Working from home is brand new for a lot of folks, and it’s full of quirks and challenges. Even for someone who’s worked from home or a flex office for a while, COVID-19 has caused me to re-evaluate my setup. To maximize your productivity, here are a few products you shouldn’t live without. But First……
-
Video Conference Alternatives to Zoom
This article does not contain affiliate links In the midst of the COVID-19 outbreak, people have been flocking to Zoom for their business meetings and virtual happy hours. With that has come increased scrutiny of the video conference darling. Folks have found their privacy policy to be less than forthcoming about the data shipped back…
-
How to Create a Sharable URL for your Free PDF
A common first rung in a company’s product ladder is something free and informational. Something like a PDF whitepaper or other sales document. In the digital space, it’s easy to deliver this kind of thing. Potential customer’s can easily click and follow any link you include in a blog post or email they receive. But…
-
Hide Google’s “People Also Searched For” Box
Updated 04/16/2021 Stop me if you’ve been here: You Google something. You click the first result. You click “Back” in your browser. You go to click the next result, only— Google takes half a second to expand this little box and you click on one of those links instead. Let’s hide that thing. Custom Browser…
-
Sterner Stuff’s 2019 Favorite WordPress Black Friday Deals
Every year, US retailers offer huge discounts for Black Friday. Digital deals used to be reserved for Cyber Monday following Black Friday, but we’ve seen these deals start earlier and earlier as the years have gone on. There are plenty of WordPress-centeric deals already available for 2019. Here are some that are worth a look.…
-
Fix WP Bakery Disabling Gutenberg with Classic Editor Enabled
There’s currently a bug in WP Bakery (version 6.0.5) that enables or disables the block editor, Gutenberg, for an entire post type based on a single post on the various “All [Post Type]” admin screens. You’ve probably noticed this if you’ve installed the Classic Editor plugin and have switching editors enabled. You’d expect to be…
-
How to Pick a WordPress Theme: For Non-Developers
One of the most frequently asked questions I see from folks new to the WordPress scene: How do I pick a WordPress theme? – Literally everyone who just started using WordPress Alternatives include: Should I buy a theme? Which WordPress theme is the best? What WordPress page builder is the best? And an infinite collection…
-
Run a WP-CLI Search-Replace for Revolution Slider
If you’re a WordPress developer moving sites between environments, you might find yourself using the WordPress command line tool WP-CLI to run database search-replaces fairly frequently. This lets you quickly swap out one URL for another in the database (so if I want to replace https://sternerstuff.dev with https://sternerstuffdesign.test, for local testing). I inherit a variety…
-
Restore a Fresh Local WordPress Database from Production
Situation: You’ve got your local codebase for a site in place, but the database got wiped, intentionally or otherwise. Maybe you destroyed your Vagrant box. To quickly pull the production database, I’ll often use a tool like WP Migrate DB Pro. Of course, using that tool (or any other plugin-based database migration tool) depends on…