innocode-digital/wp-block-testimonial

This package is abandoned and no longer maintained. The author suggests using the wp-digital/wp-block-testimonial package instead.

Shares feedback, review etc. of other people.

Installs: 223

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 11

Forks: 0

Open Issues: 0

Language:JavaScript

Type:wordpress-plugin

2.4.1 2023-06-21 11:47 UTC

This package is auto-updated.

Last update: 2023-08-09 19:47:31 UTC


README

Description

Shares feedback, review etc. of other people.

Demo

Testimonial Block

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.