dekodeinteraktiv/hogan-parallax-image
Composer 安装命令:
composer require dekodeinteraktiv/hogan-parallax-image
包简介
Parallax Image Module for Hogan
README 文档
README
Installation
Install the module using Composer composer require dekodeinteraktiv/hogan-parallax-image or simply by downloading this repository and placing it in wp-content/plugins
Available filters
Admin
hogan/module/parallax_image/image_size/constraints: Image constraints for image size field. Default (will be merged with return filter return values):
[
'min_width' => '',
'min_height' => '',
'max_width' => '',
'max_height' => '',
'min_size' => '',
'max_size' => '',
'mime_types' => '',
]
hogan/module/parallax_image/image/preview_size: Admin preview size of uploaded image. Default: 'medium'hogan/module/parallax_image/image/library: Admin media library choice. Default: 'all'
###Frontend
hogan/module/parallax_image/image_size: The image size that will be used for the parallax image. Default: 'full' (original image size)hogan/module/parallax_image/mobile_image_size: The image size that will be used if the parallax is disabled (screen width of 768 and below). Default: 'large'
Template
hogan/module/parallax_image/figure_classes: Add classes names to the figure tag. Default:wp-caption
统计信息
- 总下载量: 3.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2018-04-13