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

2.4.1 2023-06-21 11:47 UTC

This package is auto-updated.

Last update: 2024-10-09 22:44: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.