Metro Tabs – Responsive Tabs Block

Deskripsyon

Metro Tabs adds block-editor (Gutenberg) blocks for building tabbed content. You add a Metro Tabs: Tab Group block, then add one or more Metro Tabs: Tab Item blocks inside it. Each tab has a heading (the label visitors click) and a content area where you can add any blocks—paragraphs, images, lists, etc. On the front end, visitors see a simple tab bar and panes; clicking a tab switches the visible content without reloading the page.

Features

  • Tab Group block – Container for one set of tabs. You can use multiple Tab Group blocks on the same page for different tab sets.
  • Tab Item block – A single tab: editable heading and a content area that supports any blocks (paragraphs, headings, images, etc.).
  • No JavaScript libraries – Uses vanilla JavaScript only; no jQuery or jQuery UI.
  • Block API version 3 – Compatible with the current block editor (WordPress 6.3+ iframe editor).
  • Lightweight styling – Discrete front-end styles (underline-style active tab); you can override with your theme or custom CSS.

How to use

  1. In the block editor, add a Metro Tabs: Tab Group block (search for “Metro Tabs” or “Tab Group”).
  2. Inside the group, 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).
    • Add any blocks in the tab content area (paragraphs, images, etc.).
  3. Add or remove Tab Item blocks as needed. You can add more Tab Groups elsewhere on the page for separate tab sets.
  4. Publish or update. On the front end, the tab bar and panes are built automatically; clicking a tab switches the visible pane.

No settings or configuration are required. The plugin enqueues its script and styles on the front end when the page contains tab blocks.

Compatibility

  • Requires WordPress 6.0 or higher (block editor).
  • Requires PHP 8.0 or higher.

Blocks

Ang plugin na ito ay nagbibigay ng 1 block.

  • Metro Tabs: Tab Item One tab (heading + content) for use inside a Metro Tabs tab group.

Mga Review

Wala pang reviews para sa plugin na ito.

Mga Contributor at Developer

Ang “Metro Tabs – Responsive Tabs Block” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.

Mga Contributor

Isalin ang “Metro Tabs – Responsive Tabs Block” sa iyong wika.

Interesado sa development?

Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng RSS.

Changelog

1.1.4

  • Rename all internal references from TabX to Metro Tabs
  • Rename asset files to use metrotabs prefix
  • Add docblocks for all PHP functions

1.1.3

  • Use plugin_dir_path() and plugin_dir_url() for correct path/URL resolution
  • Remove updater
  • Shorten readme short description
  • Add version and $in_footer to enqueued scripts and styles

1.1.2

  • Fixed plugin name

1.1.1

  • Fixed block registration

1.1.0

  • First release