Don’t use template_redirect to load an alternative template file
template_redirect is a popular WordPress hook, for good reason. When it runs, WordPress has made its main query. All objects have been instantiated, but no output has been sent to the browser. It is...
View ArticleAsk Mark Anything
People ask me a lot of questions. About WordPress and web development for sure, but also about other topics. I’ve decided to try a little experiment: a public way to ask me questions. Zach Holman from...
View ArticleIntroducing Cache Buddy: a companion for your WordPress page caching solution
WordPress is, by default, completely dynamic. On every page load, a bunch of “work” happens. Cookies are read. A database is queried. Content is transformed. All of this makes WordPress very powerful...
View ArticleTips for Hosting WordPress on Pantheon
Pantheon has long been hosting Drupal sites, and their entry into the WordPress hosting marketplace is quite welcome. For the most part, hosting WordPress sites on Pantheon is a dream for developers....
View ArticleThe 4 best WordPress hosts of 2016
As a seasoned WordPress developer, I am frequently asked what WordPress web hosts I recommend. There are so many solid choices now! The WordPress ecosystem is truly a bounty of choice in 2016. I could...
View ArticleHow I fixed Yoast SEO sitemaps on a large WordPress site
One of my Covered Web Services clients recently came to me with a problem: Yoast SEO sitemaps were broken on their largest, highest-traffic WordPress site. Yoast SEO breaks your sitemap up into chunks....
View ArticleSimple WordPress deploys using Git
A few weeks back, Clifton Griffin asked me a question about deploying WordPress sites: @markjaquith Hey Mark, quick question: Do you still use and recommend Capistrano? — Clifton Griffin (@clifgriffin)...
View ArticleTips for configuring WordPress environments
Many WordPress hosts will give your site a “staging” environment. You can also use tools like Local by Flywheel, or MAMP Pro to run a local “dev” version of your site. These are great ways of testing...
View ArticleUpdating plugins using Git and WP-CLI
Now that you know how I deploy WordPress sites and how I configure WordPress environments, what about the maintenance of keeping a WordPress site’s plugins up-to-date? Since I’m using Git, I cannot use...
View ArticleHandling old WordPress and PHP versions in your plugin
New versions of WordPress are released about three times a year, and WordPress itself supports PHP versions all the way back to 5.2.4. What does this mean for you as a plugin developer? Honestly, many...
View ArticleLessons Learned Making ScoutDocs: Outsourcing
Now that ScoutDocs is in the WordPress plugin repository, I’d like to share some lessons I learned making it. Every project teaches me something — this one taught me a lot. What is ScoutDocs? ScoutDocs...
View ArticleMaking ScoutDocs: React
Continuing my series about ScoutDocs and the process of building it, this week I’m talking about React. What is ScoutDocs? ScoutDocs is a WordPress plugin that adds simple file-sharing to your...
View ArticleMaking ScoutDocs: Build Tools
Continuing my series about ScoutDocs and the process of building it, this week I’m talking about Build Tools. What is ScoutDocs? ScoutDocs is a WordPress plugin that adds simple file-sharing to your...
View ArticlePage Links To v3.0
Today I pushed an update to my redirect and repointing plugin, Page Links To. Tomorrow, this plugin will have been in the WordPress.org Plugin Directory for 13 years (it was the 339th plugin in the...
View ArticleWordPress/Jetpack Driver for Laravel Valet
Recently I’ve found myself using Laravel Valet for local PHP development on my Mac. I love how fast and low-maintenance it is. One thing that is a little tricky about Valet is that you can’t really...
View Article
More Pages to Explore .....