Skip to content

BhargavBhandari90/meta-display-block

Repository files navigation

Meta Display Block

Contributors: bhargavbhandari90
Donate link: https://www.paypal.me/BnB90/20
Tags: block, meta, metadata, custom-field, blocks
Requires at least: 6.7
Tested up to: 6.8
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A Gutenberg block to display post meta fields with optional SVG icon.

🎯 Features

  • Custom Gutenberg Block
  • Displays post meta values
  • Includes optional SVG icon
  • Supports dynamic alignment (left, center, right)

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Add/Edit post and search for "Meta Display" block

Usage

  1. Insert the Meta Display Block into any post or page.
  2. Select the meta key you want to display.
  3. Optionally add an svg icon.
  4. Adjust text alignment and background from block settings.

Demo

demo-with-music.-.4K.mov

Prerequisites

Development Setup

  1. Go to plugin's root
  2. Run npm install
  3. To watch for changes, run npm start

Development

To create a publish ready plugin, run:

npm run build

To format code, run:

npm run format

Found a Bug OR a new request?

Report here https://github.com/BhargavBhandari90/meta-display-block/issues

Changelog

1.0.0

  • Initial Release.