- Contributors: ASU KE Web Services
- Tested up to: 6.7.1
- Stable tag: v1.3.0
- License: GPL-2.0-or-later
- License URI: https://www.gnu.org/licenses/gpl-2.0.html
Carousels built with glidejs, customized for the ASU Unity Design System.
Important
ASU specific CSS styling is provided by the theme. ASU-KE/UDS-WordPress-Theme >= v1.0
contains the required styling.
- Upload the plugin files to the
/wp-content/plugins/unity-carousels
directory, or install the compressed plugin flies through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
.npmrc
: Add yourauthToken
from Github to access the@asu
package registry. Do not commit token.
npm i
: installswp-scripts
, the build tools to scaffold the block, andglidejs
default resources available to copy into/resources
.
There is a command in Git to clone both the top level project and all submodules. If a developer cloned directly from Github, submodule files will not have been pulled. To get the rest of the files:
git pull --recurse-submodules
pulls latest submodule filesgit submodule update --init
set submodule files to the main repo commit. Developers must track submodule commits in the main project, to keep compiling builds across team members in sync.
After cloning, the unity package being used needs dependencies installed.
cd packages/component-carousel
npm i --legacy-peer-deps
The ASU specific CSS styling is contained in glide.theme.scss
in @asu/asu-unity-stack/packages/component-carousel
. Currently that SCSS file needs to be compiled in the theme for the complete experience. The carousel is functional without this SCSS file.
npm i
- copy
glide.min.js
andglide.core.min.css
toresources/glidejs
When an update for component-carousel
from UDS is released, a developer can update the resources folder and build the new carousel.
- the
ke-dev
branch is intended to mirror latest updates from@asu/asu-unity-stack
. If needed, clone theke-dev
fork from Github to a directory outside of this project, and merge upstream changes to Github. cd resources/asu-unity-stack/
- double check git branch has switched from
unity-carousels project branch
to git branchke-dev
:git status
git pull
get latest updates- Change directory back to the top level
unity-carousels project branch
, commit the submodule directory updatemodified: resources/asu-unity-stack (modified content)
. - build latest
- component-carousel v2.4.0
add_action()
for scripts- component-carousel v2.1.1
- testimonial: add example variations
- testimonial: citation fields
- testimonial: remove img button
- Release