WordPress/Royale/Upgrading

tagline

« Back to Royale

Upgrading Royale

Upgrading Royale is generally only a matter of uploading the new files, overwriting the existing ones.

  • If you haven't made any modification to the PHP files, and if you haven't overwritten any of the standard images, all you have to do is upload the new files. The settings made on the Theme Options page will remain untouched.
  • If you did modify some PHP files, you will have to reapply the same modifications to new theme files. Please note that most modifications, such as including some javascript or some style rules can be done using the HTML Inserts feature (see the tab next to "Theme Options" in your WP dashboard).

Remember it's always a good thing to backup your files prior to updating. Even if you don't remember changing a file, just download the full theme folder from your hosting account to your computer. It only takes a few seconds and you can't be too cautious!

Upgrading from a pre-1.4 version

The file structure has changed in Royale 1.5. A set of functions will take care of moving the files for you provided the theme directory is writable by the web server. The minimal permissions depend on several factors and differ from host to host so the easiest way to let the web server move and delete the files for you is to give it full permissions, that is to recursively chmod 777 the whole directory. The actual method to so also differs from an ftp client to another, but try right-clicking the royale/ directory and look for a "chmod" or "set permissions" menu, then set the permissions to 777, and have them applied to all sub files and folders. Also note that this must be done PRIOR to uploading the files from the Royale 1.5 archive.

Once the new files are up and the permissions are set, just head to the Theme Options page to trigger the upgrade functions and check if Royale detected something wrong during the update process. If for a reason or another some files can't be moved, the theme will display an error message at the top of the Theme Options page.

Below is the list of files that have moved or changed names in 1.5.

old new
./images/attention_catcher.png ./backend/images/attention_catcher.png
./images/hue.jpg ./backend/images/hue.jpg
./images/handle.gif ./backend/images/handle.gif
./js/iepngfix.htc.php deleted in this version

If you can't get the theme to move the files, you may want to try moving them by hand. If this doesn't work either, you can dismiss the error message and live with the duplicate files.

personaltools
sponsored links