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:

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:

Delete inactive Plugins and Themes using WPCLI - Delete inactive WordPress Plugins and Themes using WPCLI

Delete inactive WordPress Plugins and Themes using WPCLI

Deleting all inactive WordPress themes and plugins from your website is a recommended security practice. Even when deactivated, old, insecure plugins and themes might still pose a threat to the security of your WordPress website. Here are oneliners to remove inactive themes and plugins from your WordPress website using WP-CLI. List all inactive WordPress themes: Delete … Read full article →

5 Plugins to easily copy posts or pages in WordPress - 5 Plugins to 📋 copy Posts or Pages in WordPress

5 Plugins to 📋 copy Posts or Pages in WordPress

The ability to copy/clone a post or a page in WordPress is a function that we would like to see added in future versions of WordPress CMS. Until then, we’ll have to rely on plugins. 🙂 Here are 5 of the most popular plugins for easily cloning and copying articles. Yoast Duplicate Post With over … Read full article →

yoastseophp81 - Yoast SEO is (kind of) incompatible with PHP8

Yoast SEO is (kind of) incompatible with PHP8

Yoast SEO is compatible with PHP 8 and PHP 8.1 but the Composer that YoastSEO is using doesn’t yes support PHP 8.0 so you might experience problems when editing posts&pages in WordPress. According to this comment there are still 19 other PHP version incompatibilities remaining to be fixed. 😲 So turns out that YoastSEO is … Read full article →

how to hide a plugin from wordpress plugins page - How to hide a plugin from the WordPress plugins list 🙈

How to hide a plugin from the WordPress plugins list 🙈

wp-admin/plugins.php displays the plugins list table using the array $plugins_all which contains information on all installed plugins. We can use pre_current_active_plugins hook to perform actions before the plugin information is displayed on this page. TIP: The best way to understand what a hook does is to look at where it occurs in the source code. … Read full article →

Top 5 WordPress GDPR plugins in 2022 - Top 5 WordPress GDPR plugins in 2023

Top 5 WordPress GDPR plugins in 2023

Since the General Data Protection Regulation (GDPR) was applicable back in 2018, website owners have been scrambling to get their websites up to standard and avoid huge fines. Years later, GDPR fines continue, and small businesses are certainly not immune. Although you may receive a warning before being fined, there is no reason to take the risk. If you … Read full article →

Download older Plugin Versions from WordPress.org  - Download older Plugin Versions from WordPress.org

Download older Plugin Versions from WordPress.org

You can download older versions of any plugin hosted on WordPress.org directly from the website or from WP-CLI. To download older plugin versions from WordPress.org click on the Advanced view link scroll down to the end of the page and under Previous Versions select the version that you would like to download. that’s it! Another … Read full article →

cant edit plugins - Can’t Add or Install Plugins in WordPress

Can’t Add or Install Plugins in WordPress

Q: Why can’t I add plugins in WordPress? A: The following code was added to wp-config.php file that disables file editing and uploading. Simply remove these files from the wp-config.php file and then refresh the wp-admin page.