How to update the theme?

Knowledge Base > Sahifa > How to update the theme?

in Sahifa

1. Manual Updates Via WordPress Dashboard

  1. Download the “installable theme” from ThemeForest
  2. Go to (WordPress Dashboard >> Appearance >> Themes) and activate another theme such as the default WordPress theme.
  3. Delete the TieLabs theme which is now inactive.
  4. Click on “Install theme” >> “Upload” and activate the theme.

2. Manual Updates Via FTP/SFTP Override

Of course, you can always update by simply overriding all files via FTP or SFTP.

  1. Download the “installable theme” from ThemeForest
  2. Access your server via FTP or SFTP (if you aren’t sure how usually your web host will have instructions somewhere on their site)
  3. Browse to wp-content/themes/
  4. Delete and override the Jannah folder files with the new ones downloaded in step 1.
Important: Sometimes files are deleted inside the Theme so make sure that your program is deleting all files and uploading the new ones when it overrides instead of simply “updating newer files”. It can cause issues if you have files on your server inside the theme that is no longer used in the theme itself.

3. Automatic Updates via The Envato Market Plugin

Envato released a plugin called
Envato Market WordPress Plugin which can be used to manage all your themes and plugins purchased from ThemeForest and Codecanyon via your WordPress dashboard.

3.1 Common problems with the Envato Market Plugin and how to resolve them:

  1. Try clicking the update link again, sometimes it doesn't work from the first time.
  2. Activate another theme so this theme becomes deactivated and then try updating the theme.
  3. Deactivate all plugins because some plugins can block your site connections with Envato server.
  4. Confirm a valid API token has been generated from the build.envato.com website.
  5. Check your token has the correct permissions by going to Envato Market > Settings and clicking the Test API Connection button. If you get an error, create a new token.
  6. Confirm your Envato account is still active and the items are still visible from your downloads page.
  7. Check with the hosting provider to ensure the API connection to  api.envato.com is not blocked.
  8. If it still doesn't work it's possible Envato's API is down and you will need to try again later.

Note: All your theme settings in “TiePanel” are saved within the database not files, so you will not lose any of these settings even if you deleted the theme files, BUT any direct edit to the theme files (.php and .css) will be overwritten after uploading the new theme files, so it's highly recommended to take back-up of your old theme files in case you edited them.

Note: Don't change the theme folder name “theme-name” in this directory (wp-content/themes/theme-name), when you update the theme, make sure you delete the old version files and upload the new ones without renaming the theme folder name in order not to lose your sidebar and widgets settings.

1