Banner Module for Hogan
Install the module using Composer composer require dekodeinteraktiv/hogan-banner
or simply by downloading this repository and placing it in wp-content/plugins
hogan/module/banner/defaults/content_position
- Defaultleft
.hogan/module/banner/defaults/text_align
- Defaultleft
.hogan/module/banner/defaults/theme
- Defaultdark
.hogan/module/banner/defaults/width
- Defaultfull
.
hogan/module/banner/main_image/required
- Should main image be required. Defaulttrue
.hogan/module/banner/main_image/args
- Main image arguments passed towp_get_attachment_image
.hogan/module/banner/image/enabled
- Content image. Defaulttrue
.hogan/module/banner/image/args
- Image arguments passed towp_get_attachment_image
.
hogan/module/banner/cta/classnames
- Call to action button classnames.hogan/module/banner/secondary_cta/enabled
- Enable secondary call to action button. Defaultfalse
.hogan/module/banner/secondary_cta/classnames
- Secondary call to action button classnames.
hogan/module/banner/acf/layout
- Layout option field.hogan/module/banner/acf/main_image
- Main image field.hogan/module/banner/acf/image
- Image field.hogan/module/banner/acf/tagline
- Tagline field.hogan/module/banner/tagline/enabled
- Enable or disable tagline. Defaultfalse
.hogan/module/banner/acf/content_heading
- Heading field.hogan/module/banner/acf/content
- Content field.hogan/module/banner/acf/theme/enabled
- Enable or disable theme option. Defaulttrue
.hogan/module/banner/acf/theme
- Theme option. Used to create different color themes.hogan/module/banner/acf/theme_on_full
- True/false select if we want background color on full layout.hogan/module/banner/acf/width/enabled
- Enable or disable width option. Defaulttrue
.hogan/module/banner/acf/width
- Width option. Used to select if is banner should be inside grid or 100% page width.hogan/module/banner/acf/content_position/enabled
- Enable or disable content position. Defaulttrue
.hogan/module/banner/acf/content_position
- Content position.hogan/module/banner/acf/content_position_full
- Content position whenfull
layout is selected.hogan/module/banner/acf/text_align/enabled
- Enable or disable text align option. Defaulttrue
.hogan/module/banner/acf/text_align
- Text align.