While you can find lots of content about unit testing PHP applications, there aren’t many people talking about unit testing specifically for WordPress. There is precious little written about where to start for developers that are ready to increase their code quality and want to learn how to add tests to their work.
Automating your WordPress deployment, and taking the time to get it right, means you never accidentally overwrite the wrong files, put the wrong files in the wrong directory, or make any other of the many mistakes I’ve made moving files around in the 12 years I’ve been building sites. A day or two of time spent configuring deployment for your first time is worth saving that pain.
There are a number of solid and easy-to-use plugins to enable page, post, or any custom post type to be duplicated. One of those plugins is called Yoast Duplicate Post. Using this plugin makes it easy to duplicate a site’s web page or post in WordPress.
Even if you’re the only person working on a project, using Git and a Git workflow will help you keep your projects organized. You won’t need to press CTRL + Z until you’ve reset your work after writing code that didn’t work. You’ll be able to trust your system and keep producing work for your projects.
By using Git to manage your client projects, you will save yourself headaches since you can roll back changes or discard entire branches if you no longer want the work you’ve done. No more Ctrl + Z until you think you’ve rolled back far enough, Git will keep track of it all for you.
As a WordPress hosting client, it’s not essential that you know the nitty gritty details of how WordPress runs behind the scenes. In fact, WordPress was created so that people could focus on writing and publishing, not on the technical details. But it’s useful to have a basic understanding of the platform to help you […]
While many visitors may enter your site for the first time through a blog post, your homepage is the virtual front door of your WordPress blog. When someone visits your site directly through your main URL, it is the first page of your website they will see. Your homepage represents the first opportunity to make […]