create a new wp admin users - 5 Easy ways to Create a WordPress Admin user

5 Easy ways to Create a WordPress Admin user

Here are five different methods to create a new WordPress Admin user. In all of the examples below I will use the following username/password combination, so make sure to change it before running any of the commands: username123 change username123 with your username password123 change password123 with your password [email protected] change [email protected] with your email … Read full article →

The anatomy of great WordPress theme - The anatomy of great WordPress theme

The anatomy of great WordPress theme

There is no one WordPress theme in existence that can suit all websites. That is why there is a great variety of websites in existence in which, business owners, organizations, and bloggers can use. So, how do you go about choosing a WordPress theme that you will be certain that it will serve your business? … Read full article →

Display Slack status on WordPress - Display Slack status on WordPress

Display Slack status on WordPress

Here is a simple WordPress plugin that will display your current Slack status: 🔴 Offline or 🟢 Online Note: To use the Slack API, you will need to create a Slack app and obtain an API token. You can find more information on how to do this in the Slack API documentation: https://api.slack.com/authentication/token-types#bot. Generate API … Read full article →

Add PRIMARY KEY and UNIQUE KEY to WordPress core database tables - Add PRIMARY KEY and UNIQUE KEY to WordPress core database tables

Add PRIMARY KEY and UNIQUE KEY to WordPress core database tables

Here is how to add table indexes, keys, and auto_increment fields to WordPress core database tables. These commands will fix the following database errors caused by missing primary keys: ⚠️ NOTE: Before running any of the following commands make sure to create a backup of the database. This commands will only fix your WordPress Core … Read full article →

Disable WordPress comments based on User Language - Disable WordPress comments based on User Language

Disable WordPress comments based on User Language

If you want to disable comments in WordPress based on the user’s language, you can do so by using the following steps: Step 1. Install and activate the “GeoIP Detection” plugin. This plugin allows you to detect the user’s language based on their IP address. Step 2. Add the following code to your theme’s functions.php … Read full article →

Reinstall WordPress Core using WP CLI - Reinstall WordPress Core using WP-CLI

Reinstall WordPress Core using WP-CLI

Useful WP-CLI commands that I use when cleaning hacked WordPress websites in order to reinstall WP core, all themes, and plugins from WordPress.org

WordPress error Minified Redux error #7

⚠️ WordPress error: Minified Redux error #7

After upgrading WP to 6.0 the Edit post page is blank with the following errors in Chrome dev tools: I’ve disabled all plugins and reverted to the default 2022 theme, but the problem continues. After examining the files in question, I discovered that they were being utilized by the Gutenberg editor, so I temporarily disabled … Read full article →

Display all Active WordPress plugins - Display all Active WordPress plugins

Display all Active WordPress plugins

Here is a simple WordPress plugin that will create a [activeplugin] shortcode: Add it as plugin and activate, then add shortcode [activeplugins] anywhere on your website and it will display all active plugins: