Send email when new comment is posted in WordPress
In this article you'll learn how to create custom email notification when new comment is posted in WordPress. By default you can set only the administrator to be notified via [...]
Remove the WordPress version number
Every WordPress site by default has a meta tag that states the used WordPress version like this one: <meta name="generator" content="WordPress 5.3.2" /> The WordPress version is public and easily [...]
How to add custom content to the WordPress comments form
To customize the built-in WordPress comments form you could use plugins, but those often slow down your site. A better approach to add custom content to the comments form is [...]
WordPress Comments Form – Visual Hook Guide
If you have enabled the build-in comments section in your WordPress site and want to modify it, you've come to the right place. Customizing the WordPress comments form is easy [...]
Create simple sticky bar with cookie close button
Hello, in this one I'll show you how to easily create a sticky bar with close button using cookies for your WordPress site or WooCommerce store. The sticky bar is [...]
How to deregister custom post type or custom taxonomy
Many WordPress themes come with their own custom post types. Those may be FAQs, Portfolio, Books or any other. Installing the theme forces you to deal with those extra custom [...]
WordPress: How to force HTTPS
In order to force SSL/HTTPS on Wordpress, a SSL certificate is required. Secure Sockets Layer (SSL) makes it possible to encrypt communications between two devices. To use the HTTPS protocol, [...]
How to hide PHP Warnings and Notices in WordPress
PHP warnings and notices give useful information to the developers, but it's not good for the users to see them. PHP warnings and notices can appear on the front end [...]
How to add custom CSS or JS code to WordPress admin panel
Adding CSS/JS to WordPress admin can be very useful if you want to customize the dasboard, for example to make the WooCommerce menu item purple or highlight something to make [...]
How to send mail when a new Post is published in WordPress
Sending a mail when a new Post or Custom Post Type is published to your WordPress website is easy. We will use the publish_post WordPress action. Let's see the actual [...]
WordPress Tutorials
Learn how to further develop your WordPress website. WordPress PHP snippets explained.