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 →

wp package install - Install a WP-CLI Package

Install a WP-CLI Package

Packages can be installed to add functionality to WP-CLI, for example wp-cli/wp-super-cache-cli package will add functions for managing WP Super Cache plugin from the terminal. Here is a list of My favourite packages from the wp-cli/package-index: billerickson/wp-cli-plugin-install-missing install any plugins that are “active” but not installed binarygary/db-checkpoint create quick db snapshots for development purposes jaywood/jw-wpcli-random-posts … Read full article →

MySQL Process List WordPress plugin - View current MySQL Processes in WordPress

View current MySQL Processes in WordPress

MySQL Process List is used to display currently active MySQL connections. It can be useful to view current queries, detect sleep connections, and if some connection limits are reached. If on your hosting server, you have access to the terminal, you can u list MySQL processes using the command: Here is a simple WordPress plugin … Read full article →

exclude wp - Exclude WordPress cache & backup folders  from Softaculous backup

Exclude WordPress cache & backup folders from Softaculous backup

If you are using Softaculous backups you may notice that Softaculous backups also the cache folders (wp-content/cache and wp-content/litespeed) and backups created by WordPress backup plugins (wp-content/updraft & wp-content/ai1wm-backup). This significantly increases the size of Softaculous backup files. To exclude these folders from Softaculous backups SSH into your server and navigate to the following path: Copy … Read full article →

An unexpected error occurred. Something may be wrong with WordPress.org or this servers configuration. If you continue to have problems please try the support forums. - An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.

Error: “An unexpected error occurred. Something may be wrong with WordPress.org or this server’s configuration. If you continue to have problems, please try the support forums.” indicates a connection problem between your website or hosting and the WordPress.org website. The error can be seen on the Plugin > Add New page To learn more about … Read full article →

1 - 💡 How to use wp_delete_post to delete Posts or Pages

💡 How to use wp_delete_post to delete Posts or Pages

wp_delete_post function allows us to permanently delete posts, pages, attachments. When a post is deleted, all the associated content will also be deleted, this includes the comments, custom fields, and category entries. Instructions Parameter PARAMETER TYPE DESCRIPTION DEFAULT REQUIRED $postid intiger article ID 0 no $force_delete boolean skip recycle bin and delete permanently false no … Read full article →

Top WordPress blog hosting - WordPress blog hosting compared ✍️

WordPress blog hosting compared ✍️

I wrote this simple guide knowing that hosting your WordPress site is an important decision and choosing the wrong hosting company can harm your site in many different ways. In what ways? Well, website speed is a crucial element these days when it comes to how Google sees your website. WordPress site is slow to … Read full article →