Skip to content

Latest commit

 

History

History
30 lines (16 loc) · 1.25 KB

readme.md

File metadata and controls

30 lines (16 loc) · 1.25 KB

Pinned Post Custom Block Plugin

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.

Requirements

  • WordPress 5.9+

License

GNU General Public License v3

Installation

  1. Upload the plugin files to the /wp-content/plugins/pinned-post directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress

Screenshots

Block editor

  1. Screenshot of the block as it appears in the blocks list of the block editor to be added.

Editor

  1. Screenshot of how the block is displayed in the editor, with a yellow background.

Block options

  1. Screenshot of the customisation options for the Pinned Post block with the dropdown for Query type open, showing two options: Post Type, and Category.