TMS Blocks

描述

TMS Blocks adds custom blocks for the WordPress block editor (Gutenberg).

The blocks are meant to act like a transparent interface for the html and css produced by them.

The plugin currently includes the following blocks:
– Link
– Dynamic Field
– Generic Block
– Heading
– Image
– List
– List Item
– Paragraph
– Post Context

These blocks are used to define content structure and render block output in a predictable way.

Key Features

  • Block collection focused on text, media, list, anchor, and context-aware output use cases
  • Dynamic field rendering for displaying values from configured sources
  • Server-rendered output for selected blocks where runtime data is required
  • Editor support for configuring block-specific settings through block attributes

Requirements

  • WordPress 6.3 or higher
  • PHP 7.4 or higher
  • The block editor (Gutenberg); Classic Editor is not supported

Development

The source code for this plugin, including unminified assets, is available at:
https://github.com/andrei-136/tms-blocks

区块

该插件提供了 9 个区块.

  • TMS Img A simple image element. Compose with Post Context and Anchor blocks.
  • TMS Paragraph A paragraph block equivalent to core/paragraph.
  • TMS Link Adds an anchor point you can link to by ID.
  • Post Context Provides a post context to child blocks. Children can pull fields from the scoped post.
  • TMS Dynamic Field Displays data from the current query context using a path builder.
  • TMS List A customizable list block (ul, ol) with inner list items.
  • TMS Block A flexible semantic HTML wrapper with inner content.
  • TMS Heading Custom heading with optional letter span wrapping.
  • TMS List Item A single list item for TMS List Block.

安装

  1. Upload the plugin files to the /wp-content/plugins/tms-blocks directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the \’Plugins\’ screen in WordPress.

评价

此插件暂无评价。

贡献者及开发者

「TMS Blocks」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「TMS Blocks」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0.3

  • Fixed unexpected output error during activation

1.0.2

  • Tested up to WordPress 7.0

1.0

  • Initial release.