Skip to content

One click update

robiso edited this page Jan 3, 2018 · 27 revisions

With every new version of WonderCMS, an update button will appear above your settings panel.

  • Example of the button is shown here.

How it works

Once you log into your WonderCMS website, a comparison between the version written in your index.php and the latest version file on GitHub is made. If those two versions are different, the update button will appear as shown in the example screenshot above.

What gets updated/frequency

  • index.php gets updated with each update
  • default theme.php gets updated rarely
  • default style.css gets updated rarely
  • .htaccess gets updated rarely

NOTE 1: Always use the one click backup feature before updating. Delete backup files from server after downloading them.


NOTE 2: Backup your index.php if you've made changes to it. This prevents any changes made from being overwritten when updating.


NOTE 3: Make a copy of the default theme folder if you've made changes to theme.php or style.css.


NOTE 4: If you've made changes to index.php and want to turn off the update message (STRONGLY DISCOURAGED DUE TO SECURITY UPDATES), change the version number in your index.php to match with the latest version number and apply WonderCMS updates manually. This step would have to be repeated each time there is a new version of WonderCMS.


NOTE 5: Use functions.php instead of editing index.php.

Clone this wiki locally