How to Create a WordPress Child Theme - How to Create a WordPress Child Theme

How to Create a WordPress Child Theme

60 seconds or less, that’s all that takes to create a WordPress child theme and I highly recommend that you do it before even thinking about making any code or style modifications to your active theme. There are two files that you can use inside a child theme to overwrite parent theme’s functionality or style: … Read full article →

Display the total number of posts in WordPress - Display the Total 🔢 Number of Posts in WordPress

Display the Total 🔢 Number of Posts in WordPress

Step 1. Add the following inside your theme functions.php file or create a new Child theme first and add the code to it: Step 2. Add the shortcode [total_posts] anywhere on the website where you want to display the total number of posts: And it will display the number. 🙂

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

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 full article →

How to remove meta generator tag from WordPress - How to remove meta generator tag from WordPress

How to remove meta generator tag from WordPress

WordPress has an HTML meta generation tag that shows that your website is running WordPress and which version exactly. If you right-click on this page and choose View Source, you can find this tag by searching for “generator” in the source code. You should see something similar to: <meta name=”generator” content=”WordPress 6.0.3″ /> This code … Read full article →

WPXSS CLANCI - wp_actionscheduler_actions & wp_actionscheduler_logs tables

wp_actionscheduler_actions & wp_actionscheduler_logs tables

WooCommerce plugin uses the wp_actionsscheduler_actions table in the database to log scheduled actions such as cron’s running, product synchronization, upgrade, etc. These actions should be deleted once they are executed but this doesn’t always happen, in most cases, this table uses an InnoDB database engine with a row-level locking feature meaning that multiple queries can … Read full article →

How to exclude wp admin from Cloudflare - How to exclude wp-admin from ☁️ Cloudflare

How to exclude wp-admin from ☁️ Cloudflare

First and first, I must stress that this is a bad idea and that I do not recommend it. Why? Because you’ll remove all of Cloudflare’s protection for the wp-admin dashboard. Cloudflare waits 100 seconds for an HTTP response. If the origin doesn’t respond in that time, Cloudflare closes the connection and you’ll see “Error … Read full article →