Missing a temporary folder - Hot to fix error: Missing a temporary folder. ✔️

Hot to fix error: Missing a temporary folder. ✔️

Missing a temporary folder. WordPress error can be caused for multiple reasons: How to fix this error: 1. Enable required extensions Check if required extensions are enabled in Tools > Site Health: If they are not, enable them from cPanel > PHP Selector 2. Check wp-config.php for WP_TEMP_DIR Check if a custom path for file … Read full article →

Display the total number of WooCommerce products - Display the total number of WooCommerce products

Display the total number of WooCommerce products

To display the total number of WooCommerce products, you can use the following code snippet: <?php $products = wc_get_products(array( ‘limit’ => -1 )); echo count($products); ?> This code uses the wc_get_products() function to retrieve all published products, with no limit on the number of products returned. The count() function is then used to count the … Read full article →

softaculous backup - How to Backup a WordPress site using Softaculous

How to Backup a WordPress site using Softaculous

If you’ve installed your WordPress installation via Softaculous or Installatron, you can set backups directly in the WordPress management screen. Step 1. Simply login to your cPanel and scroll down to web applications section. Step 2. Choose the installation that you want to set backups for and click on the backup button, as shown in the screenshot … Read full article →

sec checkpoints for wp website - 4 Security Checkpoints for your WordPress Website

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

How to check if a WordPress Plugin is Active - WP DEV: How to check if a WordPress Plugin is Active?

WP DEV: How to check if a WordPress Plugin is Active?

To check if a plugin is active in WordPress, you can use if ( is_plugin_active( ‘plugin-directory/plugin-file.php’ ) ) { if ( is_plugin_active( ‘akismet/akismet.php’ ) ) { // plugin is active } else { // plugin is inactive } You can also use the get_plugins() function to retrieve all the plugins installed on the site and … Read full article →

Show Last Updated date for Posts - Show Last Updated date 📅 for Posts

Show Last Updated date 📅 for Posts

Here is a simple code snippet that you can add to your theme functions.php file to show the “last updated” date in your posts. A new line will be added to the beginning of the post content if the last modified and published time is different: