How to Upload Wordpress Theme From Database
How to change the WordPress theme manually
This article describes how to change the WordPress theme manually.
Normally, you can change themes in WordPress quickly and hands by using the administration dashboard. However, there may be occasions when the assistants dashboard is inaccessible (due to a misbehaving theme, for example). In such a scenario, you tin can manually alter the WordPress theme to regain access to the administration dashboard.
Tabular array of Contents
- Changing the WordPress theme manually
- Method #1: Rename and copy theme folders
- Method #2: Modify the WordPress database
Irresolute the WordPress theme manually
Use either of the following methods to alter the WordPress theme.
These procedures presume that you take at least ii themes installed on your WordPress site. If you only have one theme installed, you lot tin can manually upload a .zip file containing a theme, and then extract the .zero file in the wp-content/themes directory of your WordPress installation. Then follow one of the procedures below.
Method #1: Rename and copy theme folders
You can rename the existing theme folder and copy a new theme folder in its place. To do this, follow these steps:
- Log in to cPanel.
If you practice not know how to log in to your cPanel account, delight come across this article.
- In the FILES section of the cPanel home screen, click File Manager:
- In the left sidebar, click the proper noun of the binder where WordPress is installed. The folder's contents appear in the right pane.
- Navigate to the wp-content/themes folder.
- Right-click the binder of the currently installed theme, and so click Rename.
- Add together a suffix to the new name so yous can remember which folder contains the original theme. For example, if the theme name is twentytwenty, you lot could blazon twentytwenty.original, and then click .
- Right-click the folder of the new theme that you desire to use, and then click Copy.
- Type the name of the original theme. For example, if the theme in step 5 is namedtwentytwenty, type twentytwenty, and and so click . The new theme takes effect immediately.
Method #2: Modify the WordPress database
You can utilize phpMyAdmin to modify the WordPress database straight and change the active theme. To practise this, follow these steps:
- Log in to cPanel.
If you do not know how to log in to your cPanel account, please come across this article.
- In the DATABASES section of the cPanel domicile screen, click phpMyAdmin:
-
In the left-hand pane of phpMyAdmin, click the WordPress database. A list of tables in the database appears:
Typically, the WordPress database is username_wpXxx or username_a2wpXXX , where username represents your cPanel username, and XXX is a three-digit number.
-
Under the Table heading, click the wp_options table:
A listing of information rows appears.
-
Under the option_name heading, locate template, and and then click Edit:
Y'all may have to roll through more than one page of information in the wp_options table to locate the template row. To practise this, click the > icon, or you can click Show all to view all of the tabular array's rows at once.
- In the option_value text box, replace the current theme with the proper name of the new theme that you desire to apply.
- Click Go. phpMyAdmin saves the changes in the table.
-
Under the option_name heading, locate stylesheet, so click Edit:
You may have to scroll through more than than one folio of information in the wp_options tabular array to locate the stylesheet row. To do this, click the > icon, or you can click Testify all to view all of the tabular array's rows at once.
- In the option_value text box, replace the current theme with the name of the new theme that you lot desire to use.
- Click Go. phpMyAdmin saves the changes in the table. The WordPress user interface should now function correctly using the new theme.
Source: https://www.a2hosting.co.id/kb/installable-applications/optimization-and-configuration/wordpress2/changing-the-wordpress-theme-manually
0 Response to "How to Upload Wordpress Theme From Database"
Post a Comment