How To Edit WordPress Theme In Cpanel

How To Edit WordPress Theme In Cpanel

If you are using a WordPress theme, then it is possible to edit the theme in the cPanel. This allows you to change the appearance of your site without having to download anything and upload it again.

While there are many different ways that you can edit the way your site looks, this article will explain how you can accomplish this task on your own.

Before You Begin

There are some things that you need to know before editing your site. First, make sure that you have backups of all of your files and databases so that if something happens during the process, they can be restored easily. Second, make sure that you know what version of WordPress is running on your site before proceeding with these steps because some versions require additional steps before editing themes in cPanel.

How To Edit WordPress Theme In Cpanel

Changing the WordPress theme manually

Use either of the following methods to change the WordPress theme.

These procedures assume that you have at least two themes installed on your WordPress site. If you only have one theme installed, you can manually upload a .zip file containing a theme, and then extract the .zip 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:

  1. Log in to cPanel.If you do not know how to log in to your cPanel account, please see this article.
  2. In the FILES section of the cPanel home screen, click File Manager:cPanel - File Manager icon
  3. In the left sidebar, click the name of the folder where WordPress is installed. The folder’s contents appear in the right pane.
  4. Navigate to the wp-content/themes folder.
  5. Right-click the folder of the currently installed theme, and then click Rename.
  6. Add a suffix to the new name so you can remember which folder contains the original theme. For example, if the theme name is twentytwenty, you could type twentytwenty.original, and then click Rename File.
  7. Right-click the folder of the new theme that you want to use, and then click Copy.
  8. Type the name of the original theme. For example, if the theme in step 5 is named twentytwenty, type twentytwenty, and then click Copy File(s). The new theme takes effect immediately.
Method #2: Modify the WordPress database

You can use phpMyAdmin to modify the WordPress database directly and change the active theme. To do this, follow these steps:

  1. Log in to cPanel.If you do not know how to log in to your cPanel account, please see this article.
  2. In the DATABASES section of the cPanel home screen, click phpMyAdmin:cPanel - phpMyAdmin icon
  3. In the left-hand pane of phpMyAdmin, click the WordPress database. A list of tables in the database appears:
    phpMyAdmin - Select databaseTypically, the WordPress database is username_wpXXX or username_a2wpXXX, where username represents your cPanel username, and XXX is a three-digit number.
  4. Under the Table heading, click the wp_options table:
    phpMyAdmin - WordPress options tableA list of data rows appears.
  5. Under the option_name heading, locate template, and then click Edit:
    phpMyAdmin - Edit template valueYou may have to scroll through more than one page of data in the wp_options table to locate the template row. To do this, click the > icon, or you can click Show all to view all of the table’s rows at once.
  6. In the option_value text box, replace the current theme with the name of the new theme that you want to use.
  7. Click Go. phpMyAdmin saves the changes in the table.
  8. Under the option_name heading, locate stylesheet, and then click Edit:
    phpMyAdmin - Edit stylesheet valueYou may have to scroll through more than one page of data in the wp_options table to locate the stylesheet row. To do this, click the > icon, or you can click Show all to view all of the table’s rows at once.
  9. In the option_value text box, replace the current theme with the name of the new theme that you want to use.
  10. Click Go. phpMyAdmin saves the changes in the table. The WordPress user interface should now function correctly using the new theme.

how to install wordpress theme in cpanel

The easiest way to install your WordPress theme is through the WordPress dashboard. Simply go to Appearance > Themes > Add New and select your zipped theme file. Sometimes this doesn’t work however, and then you’ll have to upload it in your cPanel.

Your cPanel is located in the Hosting Manager of your web hosting account. It is short for Control Panel and it is the location of all your website files and databases.

In this tutorial I’ll show you how to install your WordPress theme in the cPanel.

Make sure you have your Hosting Manager login details and your downloaded zipped theme file ready to go.

Pin this post for later reference.

How to install a WordPress theme in your cPanel


I may earn a small commission for affiliate links in this post at no extra cost to you. Please read my disclaimer  for more information.

BEFORE INSTALLING A WORDPRESS THEME

Before installing a WordPress theme make sure you chose the right theme. If you have zero experience in using WordPress I highly recommend buying a premium theme.

Buying a theme might seem unnecessary and expensive at first but once you tried a premium theme you’ll see the difference. Premium themes are like buying a website in a box. Template pages are ready to go, all you have to do is replace your content.

A great theme for beginners is Divi. It has a drag & drop builder that makes it super easy to get the look you want. It even comes with more than 20 pre-made layouts! You can check out Divi on the Elegant Themes website.

Another great theme is Enfold, I’ll be uploading this theme in this tutorial. You can find Enfold on Envato Market.

If you’re a VA or web developer and you want to create multiple websites per year I highly recommend checking out these WordPress Theme Packages. These packages come with an unlimited licence and for a one-time fee you get lifetime access, updates and support.

Ok now you’ve got a great WordPress theme let’s install it in the cPanel.

HOW TO INSTALL A WORDPRESS THEME IN YOUR CPANEL

1. Log in to your hosting manager

Your cPanel is located in the hosting manager of your web hosting provider. Your web hosting welcome email should have your login details in it. If you can’t find this email contact your web host and they will resend the welcome email or a password reset link.

2. Find your cPanel

Once you’re in the hosting manager you need to navigate to your cPanel. Look for a button or link that says: cPanel. If you’re hosting with Bluehost, click Advanced in the Bluehost portal.

3. Select File Manager

Scroll down to the Files section and select File Manager. In Bluehost the File Manager looks like this.

If you don’t host your blog with Bluehost the File Manager will most likely look like this:

.

4. In the pop-up box select Public FTP Root and click on Go

5. Select the folder public_html

6. Select your wp-content folder

7. Click on themes

This is the location that you’ll want to upload your theme files to.

8. Find the upload icon in the top of the screen and select it

9. Click on Choose File and navigate to your zipped theme file

10. Select it and it will start uploading

In the bottom right of the screen you’ll be able to see your upload progress, wait for it to be 100% complete.

11. Click on “Go Back to… ” to return to your file directory

12. Locate your zipped theme file and select it

13. Click extract at the top of the screen

14. Click Extract Files

Make sure that the path where you’ll be uploading your theme to, is right.

It has to be:   /public_html/yourdomain.com/wp-content/themes.

15. Now you should see your unzipped folder like this:

Sometimes it won’t show up straight away, but you can log into your WordPress Dashboard and go to Appearance > Themes and it will be there.

If you have any problems on the way I recommend contacting your web hosting provider, they are absolute guru’s at this.

… and that’s how you install a WordPress theme in your cPanel

I hope you found this tutorial helpful, if you have any questions please let me know in the comments below.

Leave a Comment