跳至主要內容
WordPress.org

Taiwan 正體中文

  • 佈景主題目錄
  • 外掛目錄
  • 最新消息
  • 技術支援
  • 關於我們
  • 團隊
  • 取得 WordPress
取得 WordPress
WordPress.org

Plugin Directory

TMS Blocks

  • 提交外掛
  • 我的最愛
  • 登入
  • 提交外掛
  • 我的最愛
  • 登入

TMS Blocks

由 Terrible Monster Studio 開發
下載
  • 詳細資料
  • 使用者評論
  • 安裝方式
  • 開發資訊
技術支援

外掛說明

TMS Blocks adds a focused set of blocks to the WordPress block editor. Each block is designed to produce clean, predictable HTML with full styling control built in, no page builder required.

The plugin currently includes the following blocks:
* TMS Block: semantic wrapper with your choice of HTML tag
* TMS Heading: H1–H6 with dynamic content support
* TMS Paragraph: body text with truncation and dynamic content
* TMS Link: anchor block with dynamic URL and label support
* TMS Image: images from the media library, URL, or dynamic field
* TMS List / List Item: ordered and unordered lists
* TMS Dynamic Field: output post data, custom fields, and taxonomy terms
* Post Context: point child blocks at a specific post

Styling

Every block includes a Styles tab with breakpoint controls for desktop, tablet, and mobile. Each breakpoint has independent base, hover, and focus-visible states. The CSS+ tab lets you add custom selectors with full style controls per selector.

Dynamic content

The Dynamic Field block and path builder let you pull post titles, dates, custom fields, taxonomy terms, author info, and more, with no additional plugins required.

Built for block themes

Blocks render server-side where needed and produce minimal markup. Designed to work with block themes and full-site editing without adding page-builder overhead.

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 Block A flexible semantic HTML wrapper with inner content.
  • TMS Dynamic Field Displays data from the current query context using a path builder.
  • TMS Paragraph A paragraph block equivalent to core/paragraph.
  • TMS Img A simple image element. Compose with Post Context and Anchor blocks.
  • TMS List A customizable list block (ul, ol) with inner list items.
  • Post Context Provides a post context to child blocks. Children can pull fields from the scoped post.
  • TMS Link Creates a hyperlink wrapping inline or block 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〉的開發相關工作。

參與者
  • Terrible Monster Studio

將〈TMS Blocks〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄。

變更記錄

1.1.3

  • Fixed: TMS Link Post/Page picker did not search the site — typing a page or post title never queried the server, so only the 20 most recent pages and posts could be listed
  • Fixed: The selected page or post is kept in the TMS Link picker list even when it falls outside those 20 most recent items
  • Changed: Border panel now shows the Border Radius options before the border width, style and color options

1.1.2

  • Changed: A unit chosen before a value is typed is kept for the editing session only, and is no longer saved with the block

1.1.1

  • Fixed: Spacing panel reverted the unit selection (em, rem, custom) when a unit was chosen before typing a value
  • Fixed: Choosing a unit with no value no longer shows a phantom override dot on component instances

1.1.0

  • Added: Custom CSS Selectors feature (CSS+ tab) — add arbitrary selectors (&:hover, &::before, & ul li) with full StyleControls per selector
  • Added: Transition controls for custom selectors with per-property duration/easing/delay overrides
  • Added: Content controls for pseudo-element selectors — auto-quotes bare strings, stores as composite object (source + derived CSS value)
  • Added: Frontend PHP rendering for custom selector styles via wp_add_inline_style
  • Added: Selector sanitization — strips {, }, ; characters; auto-prepends & if missing
  • Fixed: Tab overflow in BreakpointStateTabs with many tabs
  • Fixed: React error #185 (“Maximum update depth exceeded”) when duplicating multiple TMS blocks simultaneously
  • Added Post/Page link source option to Anchor block with searchable picker (stores ID, resolves via permalink)
  • Anchor block link source now uses three-way selector: Post/Page, URL, Dynamic (backward compatible)
  • Fixed: List Item block now creates a new list item on Enter instead of line break
  • Fixed: Flex/Grid Item button no longer shows orange override dot on standalone (non-component) blocks
  • Paragraph block: enabled link format (core/link) in RichText toolbar
  • Changed: Paragraph block now splits via the block.json splitting support instead of the deprecated onSplit RichText prop
  • Display & Layout panel: overflow now splits into overflow-x / overflow-y with linked toggle (same pattern as padding/margin)
  • Changed: Size and font-size preset selectors now use a dropdown when more than 4 presets are available, preventing button overflow
  • Fixed: custom appender (+) button no longer shows inside locked component instances where inner blocks cannot be added

1.0.4

  • Added template variable support in Anchor block href ({{page_url}}, {{post_url}}, {{site_url}})
  • Fixed: title attribute set via Custom Attributes on Img block now renders on frontend
  • Added override indicator store (shared) for component-system dot colors
  • Added attrKey prop to PanelTitle and ControlLabel for override-aware dot coloring
  • Component instance overrides now show orange indicator dots in block controls
  • Bumped dependency: tms-component-system now populates override dot color store
  • Fixed priority bug in dynamic path resolver when placed inside query loop

1.0.3

  • Fixed unexpected output error during activation

1.0.2

  • Tested up to WordPress 7.0

1.0

  • Initial release.

中繼資料

  • 版本 1.1.3
  • 最後更新 2 個月前
  • 啟用安裝數 少於 10 次
  • WordPress 版本需求 6.3 或更新版本
  • 已測試相容的 WordPress 版本 7.1.4
  • PHP 版本需求 7.4 或更新版本
  • 語言
    English (US)
  • 標籤:
    custom fieldsdynamic contentgutenberg blockspost metaresponsive blocks
  • 進階檢視

評分

這個項目尚無任何評論記錄。

撰寫評分

查看全部使用者評論

參與者

  • Terrible Monster Studio

技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

檢視技術支援論壇

  • 關於我們
  • 最新消息
  • 主機代管
  • 隱私權
  • 展示網站
  • 佈景主題目錄
  • 外掛目錄
  • 區塊版面配置目錄
  • Learn
  • 技術支援
  • 開發者資源
  • WordPress.tv ↗
  • 共同參與
  • 活動
  • 贊助基金會 ↗
  • Swag ↗
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org

Taiwan 正體中文

The WordPress® trademark is the intellectual property of the WordPress Foundation.

  • 查看我們的 X (之前的 Twitter) 帳號
  • 造訪我們的 Bluesky 帳號
  • 造訪我們的 Mastodon 帳號
  • 造訪我們的 Threads 帳號
  • 造訪我們的 Facebook 粉絲專頁
  • Visit our Instagram account
  • Visit our LinkedIn account
  • 造訪我們的 TikTok 帳號
  • Visit our YouTube channel
  • 造訪我們的 Tumblr 帳號
程式碼,如詩