Sometimes an error can make WordPress admin area Your are not accessible. In that case, you will not be able to change the topic using the above method.

To restore your site, you need Restore it from the backup Or you can fix WordPress errors cause the problem.

However, if you do not have a backup, you can change the topic manually with the help of phpMyAdmin.

change wordpress theme with phpmyadmin

This method allows you to tell WordPress which topic to use by changing the information in the database.

First, you need to connect to your website by using an FTP client or folder management on the host and access / wp-content / Themes /.

install themes with cpanel fpt

Here you will be able to see all the topics currently installed on your site. You can also Install a WordPress theme by downloading a theme directory If you don't see it.

Next, you need to write down the folder name of the topic you want to use as you will need it later.

Then you need access to cPanel of account WordPress hosting mine. On this page, you will have to scroll down to the Database section and then click phpMyAdmin .

Open phpmyadmin in cpanel

When you are in phpMyAdmin, you will see a list of databases on the left of the screen. Just click on the database you are using for your WordPress site.

Select the option table in csdl

Next, it will show you the list of tables in this database. You need to click on the online wp_options board to open it.

Note : By default, WordPress uses wp_ as a prefix for the table name. However, there may be Different database prefixes , as shown in the image above.

Now you need to locate the rows template and stylesheet on the right panel as shown below.

READ  Essay on Importance of Friendship For Class 5

Next, click on the link Edit to open the editor.

Here, you need to change the value in the field depending option_value into the topic name you want to use. It is usually the same as the folder name in the / wp-content / Themes / folder that you copied earlier.

change topic directory name

Once you are done, click Go button to save the changes. Next, go ahead and repeat the same process for stylesheet.

After making changes to both rows, you can visit your website to see the new thread in action.

If you liked the article “Change wordpress theme with phpMyAdmin” please comment below and share it for everyone to read. Thank you for following the article. And if you want to copy the article, please cite the source:

Read more :

Leave a Reply

Your email address will not be published. Required fields are marked *