Use Regex with WP CLI to Search & Replace in Database

When cleaning websites that have large databases, regular text editors can’t even open the database dumps (Notepad++ supports files up to 2GB in size). So to run a search and replace on large database dumps I suggest using regex-replace line-by-line in PHP, or setting up WPCLI and running regex search & replace. Here is a … Read more

5 Plugins to copy posts or pages in WordPress

The ability to copy/clone a post or a page in WordPress is a function that we would like to see added in future versions of WordPress CMS. Until then, we’ll have to rely on plugins. 🙂 Here are 5 of the most popular plugins for easily cloning and copying articles. Yoast Duplicate Post With over … Read more

Best WordPress membership plugins

Using a WordPress membership plugin to earn revenue through paid memberships is a fantastic idea. They provide you the option of restricting access to some or all content to subscribers only. Subscription payments can be one-time or ongoing, with the latter providing a stable source of income. Types of membership sites WordPress membership sites (also … Read more

Top 5 WordPress GDPR plugins in 2022

Since the General Data Protection Regulation (GDPR) was applicable back in 2018, website owners have been scrambling to get their websites up to standard and avoid huge fines. Years later, GDPR fines continue, and small businesses are certainly not immune. Although you may receive a warning before being fined, there is no reason to take the risk. If you … Read more

4 Security Checkpoints for your WordPress Website

Security is a result of security “practices” rather than plugin “functionality”. No security plugin is perfect, but we make do, and that, like everything else in life, is what defines the outcome. Here’s a simple diagram of how an attacker tries to get inside your website. There are 4 levels that each request has to … Read more

How to add next and previous links to your WordPress site

In this article, we’ll add the next and previous links on a WordPress theme. First We declare the previous and next variables: Then to show them inside the post, add the following snippets to the theme’s single.php file: If you want to further customize the links and maybe even display post name inside the links, … Read more

Top 5 WooCommerce product image zoom plugins

Are you looking for the best WooCommerce product image zoom plugin? Are you considering adding zoom options to your e-commerce products? Here are some of the best WooCommerce product image zoom plugins available on the market. Why you should use product image zoom plugin for your WooCommerce store? Let your visitors view your product image by zooming from different angles Turn your … Read more

How to fix curl error 60: SSL certificate problem: certificate has expired error

From September 30, 2021, WordPress websites that use Let’s Encrypt certificates are having issues with HTTP API requests. For example, here is an example that will cause this error: $res = wp_remote_get( ‘https://abcdef.com/’ ); if( is_wp_error( $res ) ){ echo $res->get_error_message(); } the error message: cURL error 60: SSL certificate problem: certificate has expired What causes this error? … Read more