Tabs Block for Classic Editor

外掛說明

Tabs Block for Classic Editor is a clean and elegant tab display plugin for WordPress posts and pages. It supports:

  • A toolbar button in the Classic Editor to insert tab shortcodes via popup
  • A sidebar menu button in Gutenberg for quick tab shortcode insertion
  • Simple and flexible shortcode format compatible with most themes
  • Responsive frontend tab UI that automatically generates switchable tab sections

Shortcode usage example:

[tabsblcl_tabs]
[tabsblcl_tab title=”标签1″]这里是内容[/tabsblcl_tab]
[tabsblcl_tab title=”标签2″]这里是内容[/tabsblcl_tab]
[/tabsblcl_tabs]

License

This plugin is released under the GPL v2 or later.

Developer: TuDouCode
Website: https://tudoucode.cn

螢幕擷圖

安裝方式

  1. Upload the plugin folder to /wp-content/plugins/, or install via the WordPress plugin dashboard.
  2. Activate the plugin through the “Plugins” menu in WordPress.
  3. In the Classic Editor, you will see an “Insert Tabs” button on the toolbar.
  4. In Gutenberg, a “Insert Tabs” option will appear in the sidebar menu.
  5. Click the button and follow the prompt to generate the tab shortcode.
  6. Save your post and view the tabbed content on the frontend.

常見問題集

Which editors are supported?

This plugin supports both the Classic Editor and the Gutenberg Editor. The Classic Editor includes a toolbar button, while Gutenberg has a sidebar button for shortcode insertion.

What is the shortcode format?

Use [tabsblcl_tabs] to wrap multiple [tabsblcl_tab title="Tab Title"]Content[/tabsblcl_tab]. Example:

[tabsblcl_tabs]
[tabsblcl_tab title="Tab 1"]Your content here[/tabsblcl_tab]
[/tabsblcl_tabs]

Can I customize the tab styles?

Yes. You can customize the styles using your theme or custom CSS targeting .tbc-tabs-container and related class names.

Do I need to wrap a single tab with [tabsblcl_tabs]?

Yes. Even if you only have one tab, you must wrap it with [tabsblcl_tabs] for the frontend JavaScript to function properly.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Tabs Block for Classic Editor〉的開發相關工作。

參與者

將〈Tabs Block for Classic Editor〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.1

  • Added Gutenberg sidebar tab shortcode insertion button
  • Improved Classic Editor button popup interaction
  • Minor fixes and improved compatibility

1.0

  • Initial release with Classic Editor support for tab shortcodes
  • Frontend tab-switching display functionality