WP Framework occasionally gets updates which contain either bug fixes, or adds more features and functionality to the framework. This guide will walk you through the process of upgrading your themes based off WP Framework, all while safe guarding your customizations and changes.
When creating themes based off WP Framework, you learned a little bit about the media/ directory and the conventions it provides to you when you take advantage of it. By keeping everything inside the media directory, you don’t have to worry about upgrades overriding your customizations or changes.
You should never need to modify any files located in theĀ library/functions directory. WP Framework is flexible enough using action hooks or filters. If, however there is something you’d like to change in the library directory that you can’t achieve using action hooks or filters, then that’s considered a bug and you should post it over in the forums.
This only works if you download and install WP Framework manually, and not through the theme installer. A future version of WP Framework will be able to automate this task for you.
So whenever it’s time for upgrading:
- Download the latest version of WP Framework
- Copy the
library/functionsdirectory and overwrite your theme’slibrary/functionsdirectory.
And that’s how you safely upgrade your themes based off WP Framework.