Upgrading your Theme

QUESTION:
How do I upgrade my Theme to the newest version? Is there anything I should be aware of when doing so?

ANSWER:
From your WordPress administration area, in the left side menu, click on Appearance -> Themes. Select the tab at the top labeled “Install Themes”. Choose the option to upload a Theme from your computer. Locate the zip file of your Theme on your computer and click on the Install Now button. Once it’s installed, click on “Activate”.

When upgrading from your current Theme, always make a note of your settings and other information, as these may not carry over into your upgraded Theme.

One issue that occurs fairly frequently after upgrades is the photo gallery “loading” and “close” not displaying. Whether it happens to you depends on your WP installation. There’s a simple fix for this.

First find out the folder name of your upgraded Theme. You can do this by connecting to your site’s hosting control panel or FTP account. Go to your site’s root folder -> wp-content -> themes. Among the Themes listed, you will see your old Theme folder and the new one. Make a note of the new folder name. Now open that folder, then the folder labeled “js”, then “lightbox.js”.

Scroll down past the Table of Contents until you see the following lines:

LightboxOptions = Object.extend({
fileLoadingImage: ‘wp-content/themes/ANA-Clarity/images/loading.gif’,
fileBottomNavCloseImage: ‘wp-content/themes/ANA-Clarity/images/closelabel.gif’,

What you’ll need to do is change the ANA-Clarity reference (as in the example above) to the name of your upgraded folder. For instance, if WordPress installed your upgraded Theme into a folder named “ANA-Clarity1″, change the lines to:

LightboxOptions = Object.extend({
fileLoadingImage: ‘wp-content/themes/ANA-Clarity1/images/loading.gif’,
fileBottomNavCloseImage: ‘wp-content/themes/ANA-Clarity1/images/closelabel.gif’,

Do not make any other changes to the page. Now save the file. Once the image path is corrected in this way, the gallery “loading” and “close” labels will display correctly.