sec checkpoints for wp website - 4 Security Checkpoints for your WordPress Website

4 Security Checkpoints for your WordPress Website

Security is a result of security “practices” rather than plugin “functionality”. No security plugin is perfect, but we make do, and that, like everything else in life, is what defines the outcome. Here’s a simple diagram of how an attacker tries to get inside your website. There are 4 levels that each request has to … Read full article →

How to check if a WordPress Plugin is Active - WP DEV: How to check if a WordPress Plugin is Active?

WP DEV: How to check if a WordPress Plugin is Active?

To check if a plugin is active in WordPress, you can use if ( is_plugin_active( ‘plugin-directory/plugin-file.php’ ) ) { if ( is_plugin_active( ‘akismet/akismet.php’ ) ) { // plugin is active } else { // plugin is inactive } You can also use the get_plugins() function to retrieve all the plugins installed on the site and … Read full article →

Show Last Updated date for Posts - Show Last Updated date 📅 for Posts

Show Last Updated date 📅 for Posts

Here is a simple code snippet that you can add to your theme functions.php file to show the “last updated” date in your posts. A new line will be added to the beginning of the post content if the last modified and published time is different:

List of BEST Blogs for WordPress Developers - List of BEST WordPress Developer Blogs

List of BEST WordPress Developer Blogs

As you may have guessed from this site, I ❤️ LISTS.  I pretty much have a list for anything WordPress-related: Here is another list that was once a draft page on this blog that I used to bookmark links to interesting blogs written by other WordPress enthusiasts and developers. The list is simply updated as … Read full article →

WordPress Locale Usage Statistics UPDATED - WordPress Locale Usage Statistics UPDATED

WordPress Locale Usage Statistics UPDATED

A locale is the translation language code used in WordPress that usually consists of a combination of language code and country code, combined with an underscore, for example en_AU or en_GB. Here is a complete and UPDATED List of All WordPress Language Locales 🏳️‍🌈 This page displays the market share (in %) for each locale (Language code) that WordPress websites are … Read full article →

How to Automatically Create Post Tags from Post Title - How to Automatically Create Post Tags from Post Title

How to Automatically Create Post Tags from Post Title

Here is a simple WordPress plugin that will automatically add tags from the post title when saving posts. To use this plugin, simply copy and paste the code into a new file and save it as auto-tag.php in the wp-content/plugins directory of your WordPress site. Then, go to the Plugins page in the WordPress admin … Read full article →

Hide your WordPress site from Google and other Search Engines - Hide your WordPress site from Google and other Search Engines

Hide your WordPress site from Google and other Search Engines

If you want to hide your WordPress site from search engines, you can use the “Discourage search engines from indexing this site” option in the “Reading Settings” page of your WordPress dashboard. To access this option, follow these steps: This will add a “noindex” directive to your site’s pages, which tells search engines not to … Read full article →

How to send AJAX requests in a WordPress theme or plugin - How to send AJAX requests in a WordPress theme or plugins

How to send AJAX requests in a WordPress theme or plugins

AJAX enables tasks such as fetching, inserting and deleting records from a MySQL database, as well as file uploading. AJAX sent URL should be admin-ajax.php. wp_ajax action hooks. Here are well-explained tutorials from Yogesh Singh on how to send AJAX requests from a WordPress theme and a WordPress plugin: