Would you like to automate the setup of your homepage and blog page in WordPress using WP-CLI? You can easily achieve this with the following commands: This solution has been tested in WordPress v6.7.1 and WP-CLI 2.10.0. After running these commands, your settings page will reflect the following changes:
Category: Web Development
Why S3-Uploads by Human Made Is My Go-To Choice
What is a CDN? A CDN, or Content Delivery Network, is a global service provided by major cloud providers that efficiently delivers files and other content to users worldwide. It distributes your content across multiple servers located around the globe, ensuring fast and reliable access for visitors wherever they are. Why do we use CDN? […]
Ditch the Overkill: How to Send WordPress Emails Using PHPMailer and Amazon SES
The WordPress ecosystem now hosts a range of fully developed email solutions provided by numerous plugins. Two of the most prominent examples are WP Mail SMTP and Easy WP SMTP. While I have no particular objections to these plugins, I believe that for experienced developers, they can be overly complex. Most of their features extend […]
How to Implement Server-Side Rendering for WordPress Blocks?
Recently, I was tasked with implementing server-side rendering for a WordPress block created with @wordpress/create-block package. Specifically, I developed a block that displays a page list based on a user-selected menu. The block’s functionality is straightforward: in the back-end, the user selects a menu from a list of available menus, and on the front-end, the […]
How to check your website’s performance?
Just recently, a friend of mine asked me about “website analysis tool”. I got interested and immediately started asking questions. What would you like to analyze? Performance? SEO? Accessibility? “We would like to check our website for performance.”, he says. Luckily, a couple well established tools exists that are designed to do just that. I […]
How to monitor your website’s position in Google?
The free Google Search Console service is used to monitor the position of your website in Google search results. It provides valuable insights, such as the position your pages occupy for selected keywords, the number of people who clicked on your website, the keywords they used, which of your pages are the most popular for […]