跳到内容

Metro Tabs – Vertical, Responsive & Linkable Tabs Block

v1.2.1

Ciprian Popescu · 2026年3月12日 上架

For site builders who need more than the core Tabs block: vertical tabs, accordion on mobile, shareable tab links, icons and style presets.

正在使用
100+
评分
暂无
累计下载
3,606
最近更新
2026年10月27日
需要 WordPress 7.1+已测试到 7.1.5PHP 8.0+

截图

Front-end tabs
Front-end tabs
Front-end tabs
Front-end tabs
Front-end tabs
Front-end tabs
Back-end block editor with Tab Group and Tab Item blocks
Back-end block editor with Tab Group and Tab Item blocks
Back-end block editor with Tab Group and Tab Item blocks
Back-end block editor with Tab Group and Tab Item blocks
Source code demonstrating ARIA roles and keyboard navigation attributes
Source code demonstrating ARIA roles and keyboard navigation attributes

WordPress 7.1 added a basic Tabs block. Metro Tabs uses the same accessible tabs pattern and adds what Core doesn’t do:

  • Vertical tabs – tab list on the side, with Up/Down arrow keys.
  • Accordion on mobile – below a width you choose, the tabs turn into an accordion.
  • Shareable links – optionally update the address bar when a tab opens, so every tab has its own #link. Links work on page load and when the hash changes.
  • Remember the last tab a visitor opened on a page.
  • Icons in tab labels (Dashicons).
  • Style presets – Metro (underline), Pills, Boxed and Segmented, plus Color, Typography and Spacing panels.
  • Fade or slide panel animation, switched off for visitors who prefer reduced motion.
  • Style pack for core Tabs – the same four presets for the core Tabs block.
  • No lock-in – transform Metro Tabs to core Tabs and back.
  • Tabs are rendered on the server, so there is no flash of unstyled content, and the small script only loads on pages with tabs.

Add a Metro Tabs block, then edit the Tab Item blocks inside it. Each tab has a heading (the label visitors click) and a content area that takes any blocks.

How to use

  1. In the block editor, add a Metro Tabs block (search for “Metro Tabs” or “tabs”).
  2. Inside it, you’ll see placeholder Tab Items (e.g. “Tab 1”, “Tab 2”). Click each Metro Tabs: Tab Item block and:
    • Edit the tab heading (the text shown on the tab) and, optionally, pick an icon in the sidebar.
    • Add any blocks in the tab content area (paragraphs, images, etc.).
  3. Select the Metro Tabs block to choose the orientation, accordion breakpoint, animation, links and style.
  4. Publish or update. You can use several Metro Tabs blocks on the same page.

Explore more WordPress Plugins.

Compatibility

  • Requires WordPress 7.1 or higher.
  • Requires PHP 8.0 or higher.

From the same author

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums