WordPress Help

Find the active WordPress theme in a database

If you can’t sign into WordPress and you don’t know which theme is active on your site, you can find that information in the database. It can be useful when troubleshooting errors on your site.

Warning: Always make a backup of your site before making any changes to the database.
  1. Sign in to phpMyAdmin.
  2. From the left menu, select the database your site uses.
  3. Select the wp_options table (select the text, not the checkbox).
    Note: wp_ is the default database table prefix. If your table prefix isn't wp_, look for _options. There should only be one _options table.
  4. In the option_name column, find the template and stylesheet entries. They are usually on the second page of entries.
  5. In the option_value column, you will find the name of your theme. For example, twentytwentytwo.
    Database WordPress Theme

Related steps

More info

Share this article