WP ULike
Get Pro

Gutenberg Blocks

Use the ULike Button and Top List blocks in the block editor.

Available blocks

ULike Button (wp-ulike/button)

Place a like button on any post or page.

AttributeDescription
For
Content type (post, comment, etc.)
Item ID
Specific item, or use current post
Template
Button style preset
Button type
Image or text

Top List (wp-ulike/top-content)

Display a ranked list of most-liked content.

AttributeDescription
Content type
Posts, comments, activities, etc.
Sort & period
Order and time range
Post types / taxonomy
Filter sources
Limit
Number of items
Display toggles
Thumbnail, rank, count, heading

Templates API

Blocks fetch available templates from wp-ulike/v1/templates REST endpoint.

Continue with these guides