Skip to content
WP Engine Developers

Listicles

MediaPress Listicles lets you create engaging, structured list-based content in WordPress. It includes customizable listicle items, and optional pagination blocks to display content in a “Load More” or “Range” format — all built with the WordPress Interactivity API.

This plugin includes listicle pagination blocks:

  • mediapress/listicle-range-pagination
  • mediapress/listicle-load-more

These are separate blocks which are linked to the main listicle block through the Interactivity API.

They will need to be added to the page and the pagination limit on the listicle block will need to have a value greater than 0.

Defines which blocks can be used in the listicle block.

Parameters

NameTypeDescription
allowedBlocksarrayAn array of block names

Usage

addFilter(
'mediaPress.listicle.allowedBlocks',
'my-plugin/add-listicle-blocks',
(allowedBlocks) => [...allowedBlocks, 'mpa/slot'],
);

Last updated: