wp-digital / wp-block-testimonial
Shares feedback, review etc. of other people.
Installs: 73
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 11
Forks: 1
Open Issues: 0
Language:JavaScript
Type:wordpress-plugin
Requires
- php: >=7.1
- composer/installers: ^1.9
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.