-
Notifications
You must be signed in to change notification settings - Fork 0
Upgrading jQuery lightGallery in the Framework
Jim Reevior edited this page Aug 14, 2018
·
1 revision
When a new version of lightGallery is available, the update will not automatically be pulled into the framework. This should be a deliberate action with proper testing. lightGallery is controlled with Grunt. Here are the steps to update lightGallery and lightGallery thumbnail in the framework:
npm update lightgallery lg-thumbnail
What this does: Checks if the lightgallery
and lg-thumbnail
packages
have an available update and installs it.
grunt update_lightgallery
What this does:
- Copies the new distributions of lightGallery and lg-thumbnail into the
js/vendor
folder.
There are two directories that will need all changes committed:
js/vendor/lg-thumbnail
js/vendor/lightgallery
There are two files that may contain changes:
-
package.json
(if thegrunt-modernizr
package has an update). -
package-lock.json
(if thegrunt-modernizr
package has an update). -
functions.php
(the version constants will be changed).
Get started
Configuration
Build child themes
- Customizing CSS in a child theme
- Overriding templates in a child theme
- Code patterns
- Code reviews
- Pulling in Foundation Updates
- Merging and Creating a Pull Request
Sass
Javascript
PHP
- Coding Standards
- PHP Constants
- Temp PHP Code Patterns
- PHP Snippets
- How to Use Hooks
- Action Hooks
- Using Action Hooks To Output Markup
- Filter Hooks
Shortcodes
Templates
GitHub
Tasks
Contribute to the framework
- Framework Development and Release Workflows
- Documentation Template
- Testing your changes
- Creating a new release
- Migration Guide
- Needs Documentation
Code Examples
- Adding Content Container Classes
- Adding News Templates
- Adding Script Dependencies
- Changing Available Layouts and Default Layout
- Displaying a Fancy Gallery
- Loading a Custom Build of Modernizr
- Loading Modernizr in the Footer
- Using Action Hooks To Output Markup
- Understanding get_template_part
BU Developer Resources