A block that displays the pinned post, or last post if no post is pinned, for a given post type or category. Originally intended to be used on New Developments blog.
- WordPress 5.9+
- Upload the plugin files to the
/wp-content/plugins/pinned-post
directory, or install the plugin through the WordPress plugins screen directly. - Activate the plugin through the 'Plugins' screen in WordPress
- Screenshot of the block as it appears in the blocks list of the block editor to be added.
- Screenshot of how the block is displayed in the editor, with a yellow background.
- Screenshot of the customisation options for the Pinned Post block with the dropdown for Query type open, showing two options: Post Type, and Category.