Skip to content

One click update

robiso edited this page Jul 25, 2017 · 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 rarely updated
  • default style.css gets rarely updated
  • .htaccess gets rarely updated

NOTE 1: The update button appears only after a freshly started login session. 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.


Use functions.php instead of editing index.php.

Clone this wiki locally