dekodeinteraktiv/hogan-banner
最新稳定版本:2.4.1
Composer 安装命令:
composer require dekodeinteraktiv/hogan-banner
包简介
Banner Module for Hogan
README 文档
README
Installation
Install the module using Composer composer require dekodeinteraktiv/hogan-banner or simply by downloading this repository and placing it in wp-content/plugins
Available filters
Default values
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.
Image
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.
Call to action
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.
ACF Fields
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 whenfulllayout is selected.hogan/module/banner/acf/text_align/enabled- Enable or disable text align option. Defaulttrue.hogan/module/banner/acf/text_align- Text align.
统计信息
- 总下载量: 9.5k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2017-12-06