Shares feedback, review etc. of other people.
-
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.
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.