/monocle-block-library

Monocle PoC block library

Primary LanguageJavaScript

Monocle Blocks library

This is a WordPress plugin that adds a library of custom blocks to the Monocle theme.

This is part of the PoC to show how to create custom blocks for Monocle.

Installation

This is a WordPress plugin. To install it, download the zip file and upload it to your WordPress site. Then activate the plugin.

Usage

This plugin adds a new category of blocks to the Monocle theme. You can use these blocks to create custom layouts for your posts and pages.

Blocks included in this plugin:

  • Monocle Related Articles: This block displays a list of related articles based on the categories/tags/post type of the current post, or it allows you to manually select the articles to display.
  • Monocle Copyright Date: This block displays the current year, which is useful for copyright notices.