How to Add Categories and Tags for WordPress Pages

Add the following code in your theme’s functions.php file for Categories.

Add the following code in your theme’s functions.php file for Tags.

WordPress admin menu looks like below screenshot

Categories Tags

Use a WordPress Plugin to Check for Compatibility Issues

You can use this plugin PHP Compatibility Checker for just this purpose. It checks all the code on your site and reports any possible issues.

Install the plugin and activate it on your site in the usual way. When it’s active, there will be a new menu item under Tools called PHP Compatibility. Here, just choose the PHP version you want to upgrade. Then select whether to scan only your active plugins and themes or all extensions on your site.

PHP Compatibility

Start the scan. When done, the plugin will present you with a list of errors and warnings for your site. It will even tell you the file name and line number where it encountered them.

How to Check Your WordPress Site’s PHP Version

If you want to know which PHP version are currently used your WordPress site. You can find out below ways.

1. Check Your Hosting cPanel

Your first option is to check with your hosting provider. There’s likely a menu called PHP Version Manager, PHP SettingsSelect PHP Version or something similar. From here, you can check which PHP version your site’s are using.

My cPanel screenshot:

php-version

2. Use a WordPress Plugin

You can also check your WordPress website’s php version through this plugin Display PHP Version.

Install the plugin and activate it. You will then be able to see the current PHP version under At a Glance in the WordPress dashboard.

php-version plugin