The UpThemes Framework Version 2.2 Released
Over the past few months, we’ve been working on a major update to the UpThemes Framework. Our goals were simple: a faster, more stable, secure, extensible options framework that falls in line with the WordPress Settings API and best practices. One of the biggest pieces of feedback we’ve received is that a theme options framework should look like WordPress and use its Settings API to avoid reinventing the wheel in regards to the user interface.
As of today, the changes we’ve made are now live on the master branch! I’ve listed the major changes below:
Now Uses Settings API
We based the majority of our changes on Chip Bennett’s Oenology theme options panel, with some of our own tweaks and additions, of course. This allowed us to strip out a ton of code and use existing APIs, ensuring better forward compatibility and tight integration with WordPress Core.
Theme Customizer Integration
Certain option types are available within the Theme Customizer, making it easy for developers to provide a live preview for their theme options. There’s nothing extra required for options to appear in the theme customizer, they’re all enabled there by default.
Built-In Media Handling
Previously, the UpThemes Framework used its own image uploader, causing the potential for security issues surrounding uploads. With the new framework, we’ve integrated the WordPress media uploader into our image option type.
Available as a Git Submodule
One of the biggest changes we made was moving all the relevant files into a single directory that can now be checked out as a git submodule. Since all our themes are hosted on Github, this was an extremely important thing for us as we don’t have to maintain code for the framework in all our theme repos, we simple update the submodule when code changes and push back up to master. Voila!
No More SEO, Typography, or Style Engine
Some people might consider this a major bummer, but we wanted to really narrow the focus of the UpThemes Framework and let it do what its supposed to do – theme options! We pulled the Typography Engine out a few months ago and created Typecase, the best web font plugin for WordPress, plus we decided that Yoast’s WordPress SEO plugin is a much better option for our users, so we typically recommend that for anyone looking to replace the SEO options we included in the previous version of the framework.
We’ve removed several files and loads of PHP from the framework, making it much lighter. Since it’s just a theme options framework, we felt it shouldn’t be as heavy as an entire theme. Don’t you agree?
New Getting Started Guide
We now have a quick start guide for developers looking to integrate the UpThemes Framework into their themes.
WordPress Tips & Tricks Newsletter
Sign up for our 'once-in-a-while' WordPress tips and tricks newsletter for all skill levels. We provide excellent tips for marketing, SEO, and customization for your WordPress site.