How to Determine the WordPress Version

This article describes how to determine the current WordPress version of an installation.

Method #1: Use the Administration Interface

The easiest way to determine the version of a WordPress installation is from the administration interface:

  • At the bottom of every page in the administration interface, WordPress displays the version number.
  • By default, newer WordPress versions also display the version number in the At a Glance box on the main dashboard page, as well as the current theme.

Method #2: Check the version.php File

If the administration interface is unavailable or you cannot log in, you can still determine the WordPress version by checking the version.php file. To do this, follow these steps:

  1. Navigate to the wp-includes directory in the directory where you installed WordPress. You can do this several ways:
  2. In the wp-includes directory, open the version.php file in a text editor or viewer.
  3. Locate the $wp_version variable. This variable's value contains the current WordPress version. For example, the following value indicates WordPress version 3.8.1 is installed:

    $wp_version = '3.8.1';
If you have installed and configured the WP-CLI tool, you can use it to determine the WordPress version also. For information about how to do this, please see this article.

More Information

A2 Hosting offers blazing fast WordPress Hosting for both shared and managed.

Get WordPress Hosting

Article Details

  • Level: Beginner

Other Articles in This Category

Show More

Did you find this article helpful? Then you'll love our support. Experience the A2 Hosting difference today and get a pre-secured, pre-optimized website. Check out our web hosting plans today.

We use cookies to personalize the website for you and to analyze the use of our website. You consent to this by clicking on "I consent" or by continuing your use of this website. Further information about cookies can be found in our Privacy Policy.