Banner Module for Hogan ![Build Status](https://camo.githubusercontent.com/7b6987113b4d7fbcc929e99ea7e6402d1ae5d2ecf004b8737fbf5cbb6a20d80f/68747470733a2f2f7472617669732d63692e6f72672f44656b6f6465496e746572616b7469762f686f67616e2d62616e6e65722e7376673f6272616e63683d6d6173746572)
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.