wp-digital/wp-block-testimonial
最新稳定版本:2.4.1
Composer 安装命令:
composer require wp-digital/wp-block-testimonial
包简介
Shares feedback, review etc. of other people.
README 文档
README
Description
Shares feedback, review etc. of other people.
Demo
Install
-
Preferable way is to use Composer:
composer require wp-digital/wp-block-testimonial -
Alternate way is to clone this repo to
wp-content/plugins/:cd wp-content/plugins/ git clone git@github.com:wp-digital/wp-block-testimonial.git
Activate Testimonial Block with WP-CLI
wp plugin activate wp-block-testimonial or from Plugins page.
Documentation
Add default image, if needed, with hook wpd.block-testimonial.author_image.default.
Example:
wp.hooks.addFilter(
'wpd.block-testimonial.author_image.default',
'my-theme',
() => ( {
src: 'https://picsum.photos/150',
width: '150',
height: '150',
alt: 'Random image',
} )
);
There are more hooks in constants which give a possibility to customize behaviour a bit.
统计信息
- 总下载量: 74
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-2.0
- 更新时间: 2023-06-20