https://github.com/dekodeinteraktiv/hogan-gallery
Image gallery module for Hogan
https://github.com/dekodeinteraktiv/hogan-gallery
acf dekode-hogan hogan php wordpress-plugin
Last synced: 10 months ago
JSON representation
Image gallery module for Hogan
- Host: GitHub
- URL: https://github.com/dekodeinteraktiv/hogan-gallery
- Owner: DekodeInteraktiv
- License: gpl-3.0
- Created: 2017-11-08T06:55:03.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T17:40:57.000Z (about 3 years ago)
- Last Synced: 2025-02-25T00:39:12.394Z (11 months ago)
- Topics: acf, dekode-hogan, hogan, php, wordpress-plugin
- Language: JavaScript
- Size: 1.39 MB
- Stars: 1
- Watchers: 9
- Forks: 0
- Open Issues: 26
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Image Gallery Module for [Hogan](https://github.com/dekodeinteraktiv/hogan-core) [](https://travis-ci.org/DekodeInteraktiv/hogan-gallery)
## Installation
Install the module using Composer `composer require dekodeinteraktiv/hogan-gallery` or simply by downloading this repository and placing it in `wp-content/plugins`
## Available filters
- `hogan/module/gallery/layout/grid/thumbnail_size` for overriding default thumbnail image size for grid layout, default 'thumbnail'.
- `hogan/module/gallery/layout/grid/show_more_link` Show "+ X images" link if more than 6 images in grid layout. Default `true`
- `hogan/module/gallery/layout/slider/show_expand_icon` Show icon to open expand the icon. If false you can click on the image instead. Default `true`.
- `hogan/module/gallery/layout/thumbnail_size` for overriding default thumbnail image size for other layouts than grid, default 'large'.
- `hogan/module/gallery/template` for overriding the default template file.
- `hogan/module/gallery/wrapper_tag` for outer HTML wrapper tag, default ``
- `hogan/module/gallery/wrapper_classes` for outer HTML wrapper CSS classes.
- `hogan/module/gallery/inner_wrapper_classes` for inner HTML `
` wrapper classes.
- `hogan/module/gallery/heading/enabled` for enabling heading field, default true.
- `hogan/module/gallery/slider/flickity` flickity options. See https://flickity.metafizzy.co/options.html
- `hogan/module/gallery/item` for overriding the post values for the gallery item.
- `hogan/module/gallery/caption/allowed_html` for allowing html tags in captions.