Move wp config outside the web root directory - Move wp-config.php outside the web root directory

Move wp-config.php outside the web root directory

I recently did a guide on 5 (Less known) WordPress Security Tips to keep your website safe from hackers where I suggested moving wp-config.php outside the web root directory as a simple change that adds an additional layer of security to your WordPress website. The wp-config.php file contains your MySQL database username & password, along with … 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. 🙂

5 Easy Steps to start a WordPress blog today - 5 Easy Steps to start a WordPress blog today

5 Easy Steps to start a WordPress blog today

Welcome to the world of Blogging. 🎉🎉🎉 Blogging is a great way to express yourself, build a business, or share experiences. There are endless reasons that drive people to start blogs. No matter what your reason for beginning is, you can get your WordPress blog set up and running in five easy steps. 1. What’s … Read full article →

Call to undefined function wp filesize WPXSS Blog - Uncaught Error: Call to undefined function

Uncaught Error: Call to undefined function “wp_filesize” in /wp-admin/includes/image.php:249

The error indicates that a WordPress plugin or theme is requesting the “wp_filesize” function but the WordPress core is either corrupted or outdated and does not have that function yet. Uncaught Error: Call to undefined function “wp_filesize” in /wp-admin/includes/image.php:249 WordPress 6.0 introduced the wp_filesize() function which should be used in favor of PHP’s filesize(). If … Read full article →