Skip to content
This repository has been archived by the owner on Mar 17, 2018. It is now read-only.

Updating the framework

sy4mil edited this page May 6, 2012 · 1 revision

Since v1.4.0 has some major file structure & naming changes, I'll write a short tutorial here if you want to upgrade your themes from 1.3 to 1.4

NOTE: This tutorial assumes that you have not done any major modifications to the original SMOF v1.3.

1 - Backup your current /admin folder

2 - Replace it with the latest version

3 - Copy everything inside theme-options.php from the backup, and paste it into /admin/functions/functions.options.php

4 - If you have custom functions you added from previous version inside admin-functions.php, copy them over to /admin/functions/functions.php

NOTE: v1.4.1 will rename functions.php file to functions-custom.php

5 - Replace all SMOF definitions/requires from your theme's functions.php and replace it with :

/**
 * Slightly Modified Options Framework
 */
require_once ('admin/index.php');

6 - (Aditional) Add/replace images inside /admin/assets/images folder from your backup

Clone this wiki locally