Upgrading Theme Components & Libraries
Method is built to support the upgrading of theme components and libraries over the lifespan of a custom theme. Below are instructions for upgrading compnents and libraries, as of Method v1.3.1.
#
BootstrapTo update Bootstrap...
- Head to getbootstrap.com, go to the download page for the current release, and download the source files.
- Once downloaded, extract the source files.
- Replace the
inc/bootstrap/scss/
folder with thescss/
folder from the extracted files, and replace the javascript files ininc/bootstrap/js/
with the matching files found indist/js/
from the extracted files. - Finally, you'll need to recompile the theme's stylesheet and javascript files. To do this, navigate to the theme directory in the terminal and run
gulp scripts styles
to recompile both. You'll need to have the local dev utilities installed to do this.
#
Method_Layout ClassAssuming no local changes need to be merged in, head to the Releases page and download the class-method-layout.php file for the latest release. Replace the file with the same name in the theme's /lib directory with the download file. You should be good to go.