How to delete all comments in WordPress - How to delete all comments in WordPress? 🗑️💬

How to delete all comments in WordPress? 🗑️💬

WordPress uses the wp_commentmeta and wp_comments tables to store comments and their data. To delete all comments in WordPress simply empty those tables in the database: To delete all spam comments use: To delete all unapproved comments use: NOTE: In the above commands change wp_ prefix with the table prefix that you are using *(view … 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 →

template name - Display template name in WP admin bar

Display template name in WP admin bar

Figuring out templates that are being used while you are building and developing a custom WordPress website can be problematic. Using the following snippets you can quickly and easily display template name or full path to the file in your wp-admin bar. Display Template name To display just template name add the following to functions.php … Read full article →

top 5 woocommerce zoom product image plugins - Top 5 WooCommerce product image zoom plugins 🔎🖼️

Top 5 WooCommerce product image zoom plugins 🔎🖼️

Are you looking for the best WooCommerce product image zoom plugin? Are you considering adding zoom options to your e-commerce products? Here are some of the best WooCommerce product image zoom plugins available on the market. Why you should use product image zoom plugin for your WooCommerce store? YITH WooCommerce Product Gallery & Image Zoom The YITH WooCommerce Product Gallery & Image … 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:

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 →