How To Change WordPress Theme Via PhpMyAdmin

WordPress is the most used content management system today. In this guide, we’ll share how to change WordPress theme via PhpMyAdmin.

Changing a WordPress theme via PhpMyAdmin involves modifying the WordPress database directly. 

However, it is essential to note that making changes directly to the database can be risky if not done correctly. 

It is always recommended to:

  • Create a backup of your database before proceeding. 
  • If you are still determining the new theme’s name, you can find it by going to your WordPress dashboard’s Appearance > Themes page.
  • You may need to update your permalinks if you change themes from the default theme. This can be done by going to your WordPress dashboard’s Settings > Permalinks page.

Here is the procedure;

Login into your cPanel account.

cPanel login

Log in to PhpMyAdmin. You can do this by going to your hosting provider’s control panel and clicking the PhpMyAdmin icon.

cPanel Database

Select the database for your WordPress site. It is usually the name of your domain name followed by “_db.”

PhpMyAdmin Panel

Click on the “wp_options” table. It’s where the WordPress settings are, including the active theme.

change WordPress theme via PhpMyAdmin.

Find the “template” and “stylesheet” rows. These rows store the name of the active theme. Change the value of the “template” and “stylesheet” rows to the name of the new theme you want to activate. 

For example, if you want to activate the Twenty Twenty-Two theme, you would change the value of the “template” row to “twentytwentytwo” and the value of the “stylesheet” row to “twentytwentytwo-style.css”.

Change WordPress theme via PhpMyAdmin.

Click on the “Go” button to save your changes. Visit your WordPress site to see the new theme in action. It’s that easy! 

Why use PhpMyAdmin?

PhpMyAdmin is a free and open-source software tool written in PHP intended to handle the administration of MySQL and MariaDB databases. 

PhpMyAdmin can perform most administration tasks, including creating a database, running queries, and adding user accounts.

Five reasons to use PhpMyAdmin:

  1. It’s easy to use. PhpMyAdmin has a graphical user interface (GUI) that makes it easy to manage your databases.
  2. It’s powerful. PhpMyAdmin performs various tasks, from creating databases to running complex queries.
  3. It’s free and open-source. PhpMyAdmin is free to use and modify, so you can customize it to fit your needs.
  4. Easily create, delete, and edit the database and manage all elements using the graphical interface of PhpMyAdmin, which is much easier than MySQL command-line editor.
  5. User Privileges. PhpMyAdmin allows users to manage user accounts and their privileges. It controls who can access and modify specific databases or tables, ensuring proper security and access control.

Sum up;

PhpMyAdmin is an acclaimed web-based database management system widely employed by web developers, system administrators, and database administrators. 

Renowned for its robustness and dependability, it is a free, open-source software that offers both ease of use and simplified maintenance.

Make your theme changes today via PhpMyAdmin!

Was this article helpful?

Related Articles

Leave A Comment?