Using SMOF the smart way
I am rather ecstatic to see the number of interests people had with SMOF, and the growing number of themes already successfully porting it into their themes. It just feels great to see my work benefiting other people.
Anyway, the reason I am writing this post is to raise my concern over a few matters regarding the usage & modifications of SMOF. If you’re planning to use SMOF in your themes, and plan to continue updating it as more features & bug fixes come along in the future then you should definitely read this.
First and foremost
Please only use the latest version on Github
There have been numerous bug fixes and added features since the first release of SMOF (currently at v1.3). If you’re using an older version of SMOF, please update your files to the current one, or I will not be able to help you. There’s been a few people using an older version complaining about bugs & errors which have already been fixed.
I wish I have all the time in the world to go review which line of code that was changed that fixed those bugs – but I sincerely do not. If you’re using an older version of SMOF and want to stick with that, then you’re on your own buddy. I’m truly sorry..
Do not edit anything else other than theme-options.php and admin-functions.php
Unless you have your own versioning system setup on your local station then it’s a bad idea to edit files other than mentioned above. If you have a feature that you seriously think is beneficial to be added to the framework, then please let me know so I can consider adding it. Otherwise, please consider the amount of time it would take you to update the files every time I do small changes to them.
I admit that I haven’t been quite systematically logging line-by-line code changes, making it slightly inconvenient for you to reflect the changes on your own files. However, this is only due to the fact that I want to save you from all the troubles of doing exactly that. The upgrading process should be easy for you – just swap in everything else other your theme-options.php and admin-functions.php.
I can understand though that some people are just coding ninjas. In this case, I certainly have no objection if you still want to customize the files really, but please do that at your own risk.
Check out the Issues page regularly
Sometimes I posted up small but relatively important notes about bug fixes etc. You should check them out from time to time just so that you are more well-informed about it.
Additionally, if you’re a new user just beginning to implement SMOF into your themes, then it would pay you off by reading some of the threads in there. There’s a very good chance that most of the issues that you would likely to encounter has been discussed in there.
A free SMOF’s ported theme
I understand the major importance of supplying SMOF with an actually working theme so that people can have a working example of how to use SMOF. This is still a work in progress & honestly I have no idea when it will be finished. But only to share a few details:
- It will be HTML5 and responsive
- SMOF will have a major rewrite, and the files will be distributed into smaller, more manageable chunks. The code structure will obviously be a little different of course but I can safely assure that nothing much will be changed inside theme-options.php
- It will have the options.css method implemented, with multisite support.
- I’m currently working on a “template-builder” framework, which is separate from SMOF
- Some custom widgets
- Shortcode buttons framework, based off the WooThemes’s Shortcode Ninja plugin
- And possibly a different name
That’s a lot to promise, I know. But I just want you to know that I’m working really hard in the background to bring this to you, so stay tuned. Ultimately, I wanted to create a modern theme framework that people can use as a starting point to develop their own themes in the future.
I appreciate your generosity but I have no use for your money at the moment. If you’re adamant about giving away a few bucks anyway, then I would strongly recommend you to spend it on one of my favorite charities, the World Food Programme’s “Fill the Cup” programme. I will be forever thankful.
Alternatively, you can also send it to Devin Says himself, the guy who created the original Options Framework which SMOF is based on.
That’s all for now folks. I hope you enjoy using SMOF and continue notifying me about bugs and improvements that will make it better. Happy theming!