How to Determine the WordPress Version

Web Hosting in Pakistan

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


USING 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.


USING 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 = '4.8.1';

 

Note:  If you have installed and configured the WP-CLI tool, you can use it to determine the WordPress version also.

 

Was this answer helpful?

 Print this Article

Also Read

How to install and configure the Google XML Sitemaps plugin for WordPress

This article describes how to install the Google XML Sitemaps plugin for WordPress. XML sitemaps...

How to disable plugins in WordPress

WordPress has a huge number of plugins available for adding features and extending functionality....

How to install and configure the 2Checkout plugin for WordPress

This article describes how to install the 2Checkout plugin for WordPress. The 2Checkout plugin is...

How to Change a WordPress Account Username

This article describes how to change the username for a WordPress account. CHANGING A WORDPRESS...

How to Manage WordPress Comments

This article describes how to manage WordPress comments using the administration interface, as...

Web Hosting in Pakistan

Powered by WHMCompleteSolution