Skip to content

One click update

robiso edited this page Jan 30, 2017 · 27 revisions

When there's a new version of WonderCMS, an update button will appear above your settings panel. An example is shown here.

How it works

Once you're logged into your WonderCMS website, a comparison between the version stated 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 screenshot above.

What gets updated

  • index.php (always)
  • default theme.php (in bigger milestones)
  • default style.css (in bigger milestones)

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


NOTE 2: Copy and rename or backup the default theme folder if you've made changes to theme.php or style.css.


NOTE 3: If you've made changes to index.php and want to turn off the update message, change the version number in your index.php to match with the latest version number. This step would have to be repeated each time there is a new version of WonderCMS. You could also remove the upgrade functionality from WonderCMS completely (not advised) or simply use functions.php instead of editing the index.php.


Clone this wiki locally